cancel
Showing results for 
Search instead for 
Did you mean: 

Out of memory error

Former Member
0 Kudos

Hi All,

I am getting Out Of Memory Error in NWDI during build. Due to this some DC data/components are also lost. I have tried working at one component at a time , but still facing the same error. Also please tell how to increase the memory used by the javaw.exe

Thanks In Advance,

Santosh.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The issue is resolved now, thanks for your inputs.

former_member189631
Active Contributor
0 Kudos

Santhosh,

Please refer this link,

Ram

vipin_v2
Participant
0 Kudos

Hi Santosh,

To add on to the information provided by Ramganesan via link.

-> When a Dc gets build then it builds all the used dcs along with it and if the memory consumption is greater thanthe allocated memory it leads to Out of memory. Memory consumption in case of dcs is a very uncertain paramter. If the build is getting failed only because of memory problem then you can very well checkin your dc it will not make your DC broken and you will not lose you component.

-> To increase the heap size you can just run eclipse command with additional options at the very end. Anything after -vmargs will be treated as JVM options and passed directly to the JVM. JVM options specified in the command line this way it will always override those in eclipse.ini.

For example,

eclipse -vmargs -Xms64m -Xmx256m

where

-Xms<size> set initial Java heap size

-Xmx<size> set maximum Java heap size

I think it will solve your problem.

With Regards,

Vipin.