Getting Java Memory Limit Error

52 views
Skip to first unread message

KM

unread,
Dec 31, 2008, 7:12:07 AM12/31/08
to Electric VLSI Editor
I recently downloaded and used the new Electric ver 8.08. I changed
the memory allocation to 2048Megs and could not get Electric to
restart. Everytime I restart Electric, I get this error message:
"Current Java memory limit of 66MEG is too small, rerunning Electric
with a memory limit of 1024MEG
Setting maximum permanent space (2nd GC) to 2048MEG"

Does anyone knows the solution to my problem?

Thanks,
Kuangming

Jake Baker

unread,
Dec 31, 2008, 9:44:43 AM12/31/08
to Editor, Electric VLSI
Kuangming,
 
Try this,
 
In Windows click Start, Run, then type in the command prompt "regedit"
(Registry Editor) and navigate to the path by expanding the appropriate
sections:
HKEY_CURRENT_USER / Software / JavaSoft / Prefs / com / sun / electric
Deleting folder electric folder will start you off like you are running
Electric for the first time (deleting this registry folder doesn't
affect the Electric jar binary or the Electric libraries, jelib files,
you've been working on but it will remove all of your key bindings for
example).

Note that you will loose all of your preferences (e.g., Key Bindings).

Hope this helps, Jake.

http://CMOSedu.com/jbaker/jbaker.htm


>>> KM <yapkua...@yahoo.com> 12/31/2008 5:12 AM >>>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Electric VLSI Editor" group.
To post to this group, send email to electr...@googlegroups.com
To unsubscribe from this group, send email to electricvlsi...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/electricvlsi?hl=en
-~----------~----~----~----~------~----~------~--~---

Steven Rubin

unread,
Dec 31, 2008, 12:00:19 PM12/31/08
to electr...@googlegroups.com

You cannot set the memory limit that high on 32-bit machines running Windows.
See: http://www.staticfreesoft.com/jmanual/mchap01-03.html

On Linux or Macintosh systems, you can go as high as 3Gig (on 32-bit
systems). On 64-bit systems there is no limit.

What is happening is that it is trying to restart Electric with the
requested amount of memory and then failing. All you see is the
message saying that it is trying.

Dr. Baker's advice is correct for resetting Electric so that it will
startup. Then, set your limit to no more than about 1400Meg and try again.

-Steven Rubin

Robert Cannon

unread,
Oct 2, 2013, 3:20:04 PM10/2/13
to electr...@googlegroups.com
5 years on, and your response and instructions are still useful! Electric was running one evening - but the next: nothing. Double clicking the .jar did nothing. When I tried to running from the command line I got the following:

C:\>java -jar electric-9.04.jar

Oct 02, 2013 7:47:37 PM com.sun.electric.Launcher main
INFO: Current Java memory limit of 259MEG is too small, rerunning Electric with
a memory limit of 512MEG

Oct 02, 2013 7:47:37 PM com.sun.electric.Launcher main
INFO: Setting maximum permanent space (2nd GC) to 512MEG

However, your post provided the solution and electric is running perfectly. Thanks for the 5 year old post! 
Reply all
Reply to author
Forward
0 new messages