Rohit Prabhakar

I build agentic revenue systems for Fortune 50 companies

  • Digital Transformation
  • Leadership
  • Marketing
  • Writing
  • Home
  • Privacy Policy

Eclipse: How to fix OutOfMemoryExceptions or just for performance improvement.

May 12, 2010 by Rohit Prabhakar 1 Comment

I would suggest the following changes to your eclipse environment. Please go to the eclipse shortcut and open the properties. In the Target just after the path to the .exe copy the machine specific arguments.


RECOMMENDED ARGUMENTS (you can play with the exact numbers based on your machine configuration)

RAM: 1GB

-vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m

RAM 2 GB

-vmargs

Filed Under: Programming, The Frontier Tagged With: Class, Data, Data structure, eclipse, eclipse performance, eclipse performance tuning, Gigabyte, heap, heapSize, Java, Java Virtual Machine, Languages, out of memory, outofmemory, OutOfMemoryExceptions, performance tuning, perm, permSpace, Programming, Random-access memory, rohit, vmargs, Xms, Xmx, XX:MaxPermSize, XX:PermSize

How to run ant build file from eclipse (if no ANT option in RUN)

February 3, 2010 by Rohit Prabhakar 4 Comments

If you have some version of MyEclipse (Enterprise Workbench 6.6.0) which has no option to run a build file with ANT and you are confused on how to run the build in the eclipse, please follow the following steps:

  1. Go to the project
  2. Select build_XXX.xml
  3. Go to “Run As” icon and click “Open External Tools Dialog…”
  4. A new pop-up window for External Tools will appear with an option “Ant Build”
  5. Right click on “Ant Build” and click on option “New”
  6. A new ANT build task will be created and will look like the following
  7. Go to “Properties” tab and deselect option “Use global properties as specified in the Ant runtime preferences”
  8. Create a new file “[SomeName].properties” and write the required build properties into it.
  9. Click on “Add External…” and select the file created in step 8.
  10. The pop-up window will look like the following.
  11. Click on APPLY
  12. Click on RUN
  13. Check Console for any errors or Success message

Filed Under: Technology, The Frontier Tagged With: ant, build script, eclipse, how to build in eclipse, Java, run

Copyright © 2026 · Genesis Framework · WordPress · Log in