views:

198

answers:

2

I am writing an application on Java and it is throwing this error Java.lang.OutOfMemory Java Heap Space JDeveloper. I know that I can add java -Xmx512m to the command line to solve the problem. However, I need to run this application on JDeveloper. So, my Question is:

How to increase the size of the Heap on JDveloper?

Thank you, Sami

+1  A: 

in the /jdev/bin path, you should find a file jdev.conf where you can add AddVMOption -Xmx512M

make sure JDeveloper isn't running when you edit the file.

That should do it.

Molske
Thanks for the answer it works.
Sami
+1  A: 

Edit ${JDEV_HOME}\jdev\bin\jdev.conf and set the follwing options:

AddVMOption -Xmx512M
AddVMOption -XX:MaxPermSize=512M

then restart JDeveloper.

bunting