Skip to main content

Electric VLSI: "Getting Java Memory Limit Error" Solution

Could you not get your JAR files to run just by double-clicking them, or does the error - "Setting maximum permanent space blah blah blah to blah" repeatedly pop up in the command prompt when you call it?

Unfortunately, I have fallen victim to the same problem while re-configuring the maximum
memory limit of Electric VLSI, a freeware EDA developed by Mr. Steven Rubin.
I've scoured forums and web pages in vain, then stumbled on a surprisingly simple answer below.

Kudos to Mr. Jacob Baker and Kuangming for providing a quick and effective solution.

On Wednesday, December 31, 2008 2:44:43 PM UTC, Jake wrote:
>  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.
> >>> KM < <javascript:>> 12/31/2008 5:12 AM >>>
> 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

I believe this solution works too with any other .jar program that had their max. memory limit erroneously configured. 

Aside from this, I've tried the following procedures too that didn't work for me. Maybe they could solve other unique problems for you:

>>Re-configuring the initial and maximum Java heap size.
In the command prompt, type "java -X" to get a full view of the possible command options.
Note: 64MB was the default setting for Electric.

Tried calling "java -d64 -Xms64m -jar electric-9.07.jar" but it didn't run.

Tried calling "java -d64 -Xmx64m -jar electric-9.07.jar" but it still didn't run.

Tried calling "java -d64 -Xms8374692574796789m -jar electric-9.07.jar" out of frustration. Waited in suspense if the program would run but it didn't. *sigh*

>>Linking the .jar extension to Java.
The caveman procedure to this is uninstalling and re-installing the latest version of Java.

>>Declaring the correct Java directory in your Path.
Go to "Advanced System Settings >> Environment Variables" and ensure that the correct directory is defined in the list of paths that appear.

>>Throw the computer out the window and make lots and lots of noise while dancing like a baboon. No, not because the problematic .jar file has driven you crazy, but because it is New Year's Day. 
Yep, Frohe Neues Jahr Alle Zusammen! :)  


Popular posts from this blog

Calculator Techniques for the Casio FX-991ES and FX-991EX Unraveled

In solving engineering problems, one may not have the luxury of time. Most situations demand immediate results. The price of falling behind schedule is costly and demeaning to one's reputation. Therefore, every bit of precaution must be taken to expedite calculations. The following introduces methods to tackle these problems speedily using a Casio calculator FX-991ES and FX-991EX.

►For algebraic problems where you need to find the exact value of a dependent or independent variable, just use the CALC or [ES] Mode 5 functions or [EX] MENU A functions.

►For definite differentiation and integration problems, simply use the d/dx and integral operators in the COMP mode.

►For models that follow the differential equation: dP/dx=kt and models that follow a geometric function(i.e. A*B^x).

-Simply go to Mode 3 (STAT) (5)      e^x
-For geometric functions Mode 3 (STAT) 6 A*B^x
-(Why? Because the solution to the D.E. dP/dx=kt is an exponential function e^x.
When we know the boundary con…

Yay or Nay? A Closer Look at AnDapt’s PMIC On-Demand Technology

Innovations on making product features customizable are recently gaining popularity. Take Andapt for example, a fabless start-up that unveiled its Multi-Rail Power Platform technology for On-Demand PMIC applications a few months back. (read all about it here: Will PMIC On-Demand Replace Catalog Power Devices?) Their online platform, WebAmp, enables the consumer to configure the PMIC based on desired specifications. Fortunately, I got a hands-on experience during the trial period (without the physical board (AmP8DB1) or adaptor (AmpLink)). In my opinion, their GUI is friendly but it lacks a verification method for tuning (i.e. the entered combination of specs). How would we know if it will perform as expected or if there are contradicting indications that yield queer behavior? Also, there is not just one IP available, but many that cater to a differing number of channels and voltage requirements (each with their own price tag).
Every new emerging technology has the potential to oversh…

Common Difficulties and Mishaps in 6.004 Computation Structures (by MITx)

May 6, 2018
VLSI Project: The Beta Layout [help needed]Current Tasks: ►Complete 32-bit ALU layout [unpipelined] in a 3-metal-layer C5 process. ►Extend Excel VBA macro to generate code for sequential instructions (machine language to actual electrical signals).
Current Obstacles/Unresolved Decisions:
►Use of complementary CMOS or pass transistor logic (do both? time expensive, will depend on sched.
►Adder selection: Brent-Kung; Kogge Stone; Ladner Fischer (brent takes up most space but seems to be fastest, consider fan-out) [do all? time expensive, will depend on sched.)
►layout requirements and DRC errors

Please leave a comment on the post below for advise. Any help is highly appreciated.