I am using Apache Commons IO FileUtils utility to read a file into a byte array. The file is 1.13 gigabytes in size. Each time this method is called, I get an out of memory error. I have this running
Consider the following code: class myarray { int i; public: myarray(int a) : i(a){ } } How can you create an array of objects of myarray on the stack and how can you create an array of objects on
I am working on a Windows 2003 server (64-bit) with 8 GB开发者_C百科 RAM. How can I increase the heap memory maximum? I am using the -Xmx1500m flag to increase the heap size to 1500 Mb. Can I increase
I\'m developing a VC++ NT service that is meant to operate continuously for many months. It uses VC++ runtime heap intensively. Clearly heap fragm开发者_StackOverflow社区entation can at some point cau
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
I have IBM\'s J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3) installed. After getting开发者_运维百科 an OOM, the size of the heap dump is 383MB. How much heap does the JVM have?