• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

� Is it possible to write a Java program that accumulates memory over time?

 
DAYANAND
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
�Is it possible to write a Java program that accumulates memory over time?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. A single name isn't enough. You can change your display name here. Thanks!

Second, please don't post the same question to multiple forums.

Third, this has nothing to do with threads (so I deleted the copy in Threads) and nothing to do with SCJP, so I'm going to move this copy to the "Java in General (Beginner)" forum.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, now that we're here:

Of course. Here's a program that will eventually run out of memory:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic