Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » please help increase java heap size
please help increase java heap size [message #1159487] Mon, 28 October 2013 15:17 Go to next message
Gibran Shah is currently offline Gibran Shah
Messages: 33
Registered: September 2013
Member
Hello,

I dealing with a rather large report that is testing the limits of the Java heap size. It's crashing a lot because it keep running out of memory. I've been told that I can increase the heap size. When I googled this, I came up with this:

java -xms__m _xmx__m

where __ means the size of the memory.

This is something I could do on a command line when running a java program, but my question is: how can I do this in Eclipse? I've looked for a setting somewhere where I can plug these parameters in--I've looked in preferences, properties, and elsewhere--but I can't find a place to do it.

Can someone please help me find out where this is done?
Re: please help increase java heap size [message #1160390 is a reply to message #1159487] Tue, 29 October 2013 05:20 Go to previous message
Gupta K P K is currently offline Gupta K P K
Messages: 2
Registered: October 2013
Junior Member
Change the parameters in eclipse.ini(eclipse directory) and save it(-Xms__m -Xmx__m)before opening eclipse. You can give these parameters under run>runconfiguration>arguments>VMarguments
Previous Topic:please help with output formats
Next Topic:BIRT 3.7.2 or later version working on WebSphere 8
Goto Forum:
  


Current Time: Tue Sep 30 15:51:54 GMT 2014

Powered by FUDForum. Page generated in 0.08719 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software