Error: Out of memory in carbide

Login to reply to this topic.
Tue, 2007-11-06 12:16
Joined: 2006-12-18
Forum posts: 42

Hi friends,
I have a very large application and i want to launch it from carbide.
But while launching it from carbide IDE it throws Internal error : "An Out of memory error"
Could anybode tell me how to prevent it .

Please help me out.


Tue, 2007-11-06 12:35
Joined: 2004-05-24
Forum posts: 981
Re: Error: Out of memory in carbide

By default, Eclipse will allocate up to 256 megabytes of Java heap memory...You can change this by starting eclipse useing the following command:
eclipse -vmargs -Xmx

You have to keep in mind that less memory you put there slower carbide is Eye-wink


pirosl

Tue, 2007-11-06 12:36
Joined: 2004-05-24
Forum posts: 981
Re: Error: Out of memory in carbide

Sorry...replace eclipse with carbide...in my previous post


pirosl

Wed, 2007-11-07 06:05
Joined: 2006-12-18
Forum posts: 42
Re: Error: Out of memory in carbide

Thanks dear,
But from where i can put this command . please tell me in detail.

Thanks,

Wed, 2007-11-07 10:58
Forum Nokia Champion
Joined: 2004-08-31
Forum posts: 30
Re: Error: Out of memory in carbide

Modify
C:\Program Files\Nokia\Carbide.c++ v1.2\Carbide.c++.ini

to something like
-vmargs
-Xms400m
-Xmx1500m

Note that there have been (are) bugs in carbide where the 'out of memory' is just a symptom, not the root cause.

Mika

Wed, 2007-11-07 11:57
Joined: 2004-05-24
Forum posts: 981
Re: Error: Out of memory in carbide

Even you change the ini file as Mika said...even you run that command from a command prompt (cmd console)


pirosl

Mon, 2007-11-12 06:18
Joined: 2006-12-18
Forum posts: 42
Re: Error: Out of memory in carbide

Hi Friend,
I am thankful to all of u for replying.
I did the same as u suggested but the problem is same.
If this error can come for others reason please tell me.

Thanks

  • Login to reply to this topic.