Re: Java is going to have closures.



MarkHaniford@xxxxxxxxx wrote:

About 500mb.
But if you are building anything substantial that too will require
a lot of memory so 1 Gb is better.
Java programs using Swing tend to grow enormously when used
for a while. I believe one of the reasons for this is that
memory is allocated in procedures then a subproc is called and the original
memory is never freed. This leads to a memory leak because java
retains memory not really in use. It is less of a problem in
Lisp since the coding style is more functional.
When Swing was created I think it was generally believed that
garbage Collection solved all problems. One the code was written the
problem was realized, but it was too late.

--


Another clueless one giving advice for something they've obviously
never used. Eclipse doesn't use Swing.

First, how the hell would he know, just by *using* Eclipse,
whether it used Swing or not? (Perhaps he could tell by
its modestly un-Swing-like 500MB memory footprint?)

Second, I got the impression he was talking about the Java
code one would develop using Eclipse. That is, 500MB to run
the IDE, plus another 500MB to accomodate the program under
development, which might very well use Swing.

-- JK
.



Relevant Pages

  • Re: Java is going to have closures.
    ... bloated if you get your systems out of the dumpster. ... a lot of memory so 1 Gb is better. ... Java programs using Swing tend to grow enormously when used ...
    (comp.lang.lisp)
  • Re: Muscle memory
    ... I would agree if the opposite side swing were just ... have short term memory loss. ... If your right eye is dominant, ... I keep fantasizing abt ...
    (rec.sport.golf)
  • Re: Java is going to have closures.
    ... what's the minimum configuration to make it work smoothly? ... a lot of memory so 1 Gb is better. ... Java programs using Swing tend to grow enormously when used ...
    (comp.lang.lisp)
  • Re: Swing better than Awt?
    ... both in terms of memory and bandwidth of a Swing evoking class. ... Swing apps do tend to use some memory. ... Can I pass an BufferedImage back from an applet to Javascript? ... Or you can use an applet that retrieves the images via socket ...
    (comp.lang.java.programmer)
  • Re: -Xmx out of memory errors
    ... the larger the heap the harder the java system ... Other thing to consider is that java uses more then just heap memory. ... many java programs eventually run into and crash on their default max ...
    (comp.lang.java.programmer)