Specify the heap memory for Eclipse

If you work with large or numerous projects, or if you use the profiler application when you debug a BlackBerry device application, you should start Eclipse with more than the default amount of heap memory or permanent generation memory. Memory between 512Mb and 768Mb is recommended.

Complete one of the following tasks:

Task

Steps

Specify the amount of permanent generation memory in the eclipse.ini file.

  1. Navigate to the directory where you installed Eclipse.

  2. In the eclipse.ini file, change the following parameter:

    --launcher.XXMaxPermSize

    512m

Specify the amount of heap memory in the eclipse.ini file.

  1. Navigate to the directory where you installed Eclipse.

  2. In the eclipse.ini file, change the following parameter:

    -Xmx512m


Was this information helpful? Send us your comments.