Connecting Tech Pros Worldwide Forums | Help | Site Map

smaller memory requirements

z1
Guest
 
Posts: n/a
#1: Jun 27 '08
hi-

i wrote a program with java using eclipse and i think i remember it used
70,000k in the process list in windows in task manager. i understand that
there is some eclipse runtime overhead involved. i used swt, hibernate and a
few others.

do netbeans and swing take up less memory in general when creating and
deploying a gui with an embedded db where there isnt that much data
involved.

skype uses 34,000k and an editor that is kind of fancy uses 12,000k
(geany).

any advice on how i can reduce the "footprint" by selecting a different
environment or toools?

i am learning java (again) and trying to get better before creating my next
project.
it seems in comparison i have done something terribly wrong (to other
applications).

thanks,
3rdshiftcoder



z1
Guest
 
Posts: n/a
#2: Jun 27 '08

re: smaller memory requirements


this is one explanation i found:

The new JVM shares classes across java apps currently running, which means
you have a one time cost for loading libraries.

If the JVM was more integrated into the OS, for instance, if OS's provided a
lot of the runtime features for Java, there would be less duplication and
things would run faster and with a smaller footprint, but that's not the
case so. =(

http://www.osnews.com/comments/10433&offset=45&rows=60

SQuirrel SQL needed 45,000k in windows. and that is much more complex than
what i built a 70,000k.

i did some reading and found that initially swt was designed to excel in
performance vs. swing but there was some arguing
about that too.

i will still continue to use java as it easier than C++ and saving time for
me is more important than making
a smaller application i guess since i have limited time to code. it is more
important for me to write better code
and a more efficient design than last time than worry about the memory at
this point.


Closed Thread