473,326 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

smaller memory requirements

z1
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
Jun 27 '08 #1
1 1631
z1
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.
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jani Yusef | last post by:
I have a HW problem stated as shown at the top of the solution. The thing is is that I am not 100% sure wtf constant memory means. Well, I think I do but I am confused. Does my solution use contant...
6
by: benevilent | last post by:
Hey, I'm trying to debug the memory allocation in an embedded use of the Python interpreter. The longer I leave my program running the more memory it consumes. The total number of objects in...
4
by: Frank Esser | last post by:
I am using SQL 8 Personal edition with sp2 applied. I set the max server memory to 32MB and leave the min server memory at 0. When my application starts hitting the database hard the memory usage...
10
by: Jakob Bieling | last post by:
Hi, Whenever allocating memory using operator new or operator new I feel like I should only use it very sparingly, because otherwise memory is wasted (by additional overhead needed to manage all...
9
by: Jimmy Cerra | last post by:
I am a little confused how the memory for objects is allocated in JavaScript. David Flanagan, in "JavaScript: The Definitive Guide," states that each property of a class takes up memory space when...
20
by: Philip Carnstam | last post by:
How come .Net applications use so much memory? Every application I compile uses at least 10 MB of memory, even the ones consisting of only a form and nothing else. If I minimize them though the...
6
by: zl2k | last post by:
hi, there I am using a big, sparse binary array (size of 256^3). The size may be changed in run time. I first thought about using the bitset but found its size is unchangeable. If I use the...
11
by: Alexander Adam | last post by:
Hi! Is there an efficient way to "shorten" an array with C++ Operators without the need to delete it, then reallocate it? I've thought about using reallocate which might do the job but its C and...
8
by: jacek.dziedzic | last post by:
Hi! I need to be able to track memory usage in a medium-sized application I'm developing. The only significant (memory-wise) non- local objects are of two types -- std::vector<and of a custom...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.