Connecting Tech Pros Worldwide Help | Site Map

smaller memory requirements

  #1  
Old June 27th, 2008, 09:25 PM
z1
Guest
 
Posts: n/a
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


  #2  
Old June 27th, 2008, 09:25 PM
z1
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Determine Minimum Requirements =?Utf-8?B?Qm9iIFdhaXRl?= answers 2 January 14th, 2008 03:55 PM
Memory Limit for Visual Studio 2005??? Peter Olcott answers 81 December 28th, 2006 07:25 PM
10GB XML Blows out Memory, Suggestions? axwack@gmail.com answers 40 June 30th, 2006 06:20 PM
hardware requirements under Redhat kbd answers 9 November 12th, 2005 01:17 AM