Re: Object sizes

2001-05-28 Thread Scott Murray
On Mon, 28 May 2001, Miloslaw Smyk wrote: > Hi! > > Just a quick question: how can I calculate amount of memory that is used by > an object running under JVM on Linux? I don't work on JProbe anymore (I quit Sitraka about 9 months ago), but AFAIK both it and Optimize It! can tell you this. You c

Re: Object sizes

2001-05-28 Thread Nathan Meyers
"John D. Mitchell" wrote: > > "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: > [...] > > The info from ps will be useless, but you can get a ballpark figure by > > computing Runtime.totalMemory() - Runtime.freeMemory() (calling > > Runtime.gc() before the computation should prevent dea

Re: Object sizes

2001-05-28 Thread John D. Mitchell
> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: [...] > The info from ps will be useless, but you can get a ballpark figure by > computing Runtime.totalMemory() - Runtime.freeMemory() (calling > Runtime.gc() before the computation should prevent dead objects from > skewing the statisti

Re: Object sizes

2001-05-28 Thread John D. Mitchell
> "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: [...] > But I meant something different, forgive me for phrasing it poorly. No sweat! > I have an image synthesis app that creates hundreds of thousands of > objects at the beginning, and later it only gets worse. If I knew how > much

Re: software basico

2001-05-28 Thread ed phillips
Debes leer el FAQ de blackdown.org antes de preguntar que si puedes creer applicaciones de Java en Linux. Claro que si puedes. Y tambien, hay otros versiones del JDK etc. que los del Blackdown. Pero debes hacer un estudio de la informacion publica antes del usar una lista como esta. Ed Enrique

Re: Object sizes

2001-05-28 Thread Weiqi Gao
On 29 May 2001 00:07:11 +0200, Miloslaw Smyk wrote: > > So: can anyone tell me how much memory overhead hotspot adds for each object > created under Linux JVM? If it is not constant value I'd appreciate even a > ballpark figure. Calling java.lang.Runtime.freeMemory() before and after allocation.

Re: Object sizes

2001-05-28 Thread Nelson Minar
>So: can anyone tell me how much memory overhead hotspot adds for each object >created under Linux JVM? If it is not constant value I'd appreciate even a >ballpark figure. Lots of info on this here: http://www.javaworld.com/javaworld/jw-11-1999/jw-11-performance.html I know from experience tha

Re: Object sizes

2001-05-28 Thread Weiqi Gao
On 29 May 2001 00:07:11 +0200, Miloslaw Smyk wrote: > > So: can anyone tell me how much memory overhead hotspot adds for each object > created under Linux JVM? If it is not constant value I'd appreciate even a > ballpark figure. Call java.lang.Runtime.freeMemory() before and after allocation, th

Re: Object sizes

2001-05-28 Thread Nathan Meyers
Miloslaw Smyk wrote: > "John D. Mitchell" wrote: > > > > > "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: > > [...] > > > Just a quick question: how can I calculate amount of memory that is used > > > by an object running under JVM on Linux? > > > > There is an answer for this questi

Re: Object sizes

2001-05-28 Thread Miloslaw Smyk
"John D. Mitchell" wrote: > > > "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: > [...] > > Just a quick question: how can I calculate amount of memory that is used > > by an object running under JVM on Linux? > > There is an answer for this question in the jGuru Java Language FAQ: >

Object sizes

2001-05-28 Thread John D. Mitchell
> "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: [...] > Just a quick question: how can I calculate amount of memory that is used > by an object running under JVM on Linux? There is an answer for this question in the jGuru Java Language FAQ: http://www.jGuru.com/faq/JavaLanguage Go

Object sizes

2001-05-28 Thread Miloslaw Smyk
Hi! Just a quick question: how can I calculate amount of memory that is used by an object running under JVM on Linux? Thanks, Milek -- mailto:[EMAIL PROTECTED] | "Man in the Moon and other weird things" - http://wfmh.org.pl/~thorgal/ | see it at http://wfmh.org.pl/~thorgal/Moon/ F

Re: software basico

2001-05-28 Thread Enrique Cabello
I'm so sorry I didn't know that this was an english-spoken list. I'm going to summary the former mail. I have installed Debian Potato and I would like to develop some Java applications working on Linux platforms. To achieve that I have downloaded from Sun homepage next software: -SDK 1.3.1 -JR

MAKE MONEY NOW ONLINE!!!

2001-05-28 Thread Bill and Linda Rowell
  YOU WILL MAKE MONEY! We will get you started now! It has never been easier to start your own online business. Here is what you get!! *A proven cash generating website ready to make money now! *Our powerful internet marketing DOWNLOAD

Re: software basico

2001-05-28 Thread Diego Pons
Enrique Cabello wrote: > > Hola lista, > > Tengo Debian Potato y soy relativamente nuevo en esto del Java, > conozco la sintaxis basica de Java, applets, servers ... pero solo > a nivel teorico, es decir, lo que he ido leyendo en libros y > manuales pero nunca he escrito ningun programa. > > Ah

software basico

2001-05-28 Thread Enrique Cabello
Hola lista, Tengo Debian Potato y soy relativamente nuevo en esto del Java, conozco la sintaxis basica de Java, applets, servers ... pero solo a nivel teorico, es decir, lo que he ido leyendo en libros y manuales pero nunca he escrito ningun programa. Ahora quiero empezar a implementar algunas