• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

increase heap memory

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am handling a file of 468 mb containing 5 million lines. Creating multiple hash tables, in doing so, I get errors for heap memory out. I have tried increasing it from .ini file, run-Run as configuration and setting arguments for the particular program. However, the total heap doesn't increase, I wonder why.

As far as I know, .ini increases memory for Eclipse, for particular java program, run configuration should work.
I have changed till 1500 migs, heap status shows the increased one, but it fails to incorporate the new one.

Please help.
Thanks
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sanjeev,
Is that file one you are opening in Eclipse or one that a program you wrote is loading? (the later uses different settings than the Eclipse.ini; you'd use a launch configuration to give it more memory)
reply
    Bookmark Topic Watch Topic
  • New Topic