Overview
The reasons JDeveloper can run out of memory include heap limits and large files.
Heap Limits
Files that control the amount of memory afforded to the JVM for JDeveloper upon startup, relative to the jdeveloper/ide/bin/
directory, include:
Update these files as follows:
- Quit JDeveloper.
- Edit
ide.conf
.
- Append the following
AddVMOption -Xms256M
AddVMOption -Xmx1024M
- Edit
jdev.conf
.
- Find the
AddVMOption
for the "heap size."
- Change the values as follows:
AddVMOption -Xmx1024M
AddVMOption -XX:MaxPermSize=1024M
Large Files
JDeveloper naïvely attempts to parse files having known file extensions that are located in the project's root level directory. A sufficiently large file, such as a 3GB XML file, will cause problems. To work around this issue, create a subdirectory for the large data and move the file into it. JDeveloper will not try to find resources in arbitrary subdirectories.