Forum Discussion

Anonymous's avatar
Anonymous
12 years ago

OutOfMemoryError

OutOfMemoryError like one of these, typically indicates that you need to add more physical memory or allocate more virtual memory.

 

java.lang.OutOfMemoryError: PermGen space

java.lang.OutOfMemoryError: unable to create new native thread

java.lang.OutOfMemoryError: Java heap space

 

For optimal results, we recommend 4G of RAM to run our software, where 2G is just for PeerReviewComplete/CodeCollaborator.

Refer to our technical specifications here:

http://codecollaborator.smartbear.com/docs/manual/7.0/index.html?server_technical.html

 

Also, running more than 2G of memory requires a 64-bit JVM to address this amount of memory.

The 64-bit configuration is not supported on Windows XP Professional.

 

You may also need to allocate more virtual memory on the client or server side.

This is done by editing your .vmoptions file on the appropriate machine.

Please refer to our manual here: 

http://codecollaborator.smartbear.com/docs/manual/8.0/index.html?appdx_java_vm_options.html



Depending on your available RAM, for example:



Allocate 3GB Java heap space by adding this line: 

-Xmx3G



Allocate 256MB PermGen space by adding this line:

-XX:MaxPermSize=256m



Please note:

(1) The .vmoptions file MUST end with a <newline>.

(2) Edits to the .vmoptions file will require a restart of the associated server or client process.
No Replies