Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old June 27th, 2008, 09:25 PM
z1
Guest
 
Posts: n/a
Default smaller memory requirements

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
Default 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.


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.