Hi David

I have installed Eclipse using the JDK1.4.0. I like IBMīs better, but I have some problems running it, when I was using Forte for Java.

I will try again, now I'm using Eclipse.

Iīll do the test again and let you know my results.

Thanks
--
Marcello Orsi Schmidt
[EMAIL PROTECTED]


--------- Mensagem Original --------
De: "David Blevins" <[EMAIL PROTECTED]>
Para: "'Marcello Schmidt'" <[EMAIL PROTECTED]>
Cópia: "'openejb-user'" <[EMAIL PROTECTED]>
Assunto: RE: [OpenEJB-user] Openejb
Data: 01/10/02 20:19

Marcello,

Ah, the IntraVM in Eclipse, good combination. I always love to hear of
the different ways people take advantage of the IntraVM Server.

So what king of VM does Eclipse use? I know the Sun VM is setup by
default to limit the amount of memory you can use to 64MB, so if you are
using that, then you definitely ran out of memory. 16000 instances can
chew that up pretty quickly, even with aggressive passivation and
garbage collection.

Set the heap size to use the full 512MB and I'll bet you can create all
50000 instances. Just start your application like such:

java -Xms256MB -Xmx512MB br.com.cinq.your.Application

That will start you out with a 256MB heap and will let you get all the
way up to 512MB max. The -Xms256MB flag is really nice because it
delays garbage collection till after you reach 256MB of memory usage.
Garbage collection requires the VM to lock the heap entirely, which
means all execution is literally frozen while the VM goes around
cleaning up. If you're running your app several times a day, cutting
out garbage collection can really save you time.

Here is more info in VM flags:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java.html

If you try it out, let me know how many instances reach.

-David


> -----Original Message-----
> From: Cinq - Marcello Orsi Schmidt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 5:10 PM
> To: David Blevins
> Cc: [EMAIL PROTECTED]
> Subject: RE: [OpenEJB-user] Openejb
>
>
> Hi David
>
> I doubt i ran out of disk space 'cos I have 17Gb free on my
> Win2K only partition.
>
> My Box's memory size is 512Mb, so I think it didn't ran out of memory.
>
> I was running the IntraVM under eclipse. Does this mean
> something to you?
>
> Personnaly I think it's a great result. I appreciate Openejb a lot.
> --
> Marcello Orsi Schmidt
> [EMAIL PROTECTED]
>
>
> --------- Mensagem Original --------
> De: David Blevins <[EMAIL PROTECTED]>
> Para: 'Marcello Schmidt' <[EMAIL PROTECTED]>
> Cópia: 'openejb-user' <[EMAIL PROTECTED]>
> Assunto: RE: [OpenEJB-user] Openejb
> Data: 01/10/02 18:12
>
> > Hi Marcello,
>
> Interesting results. Strange that it stopped after creating
> 16384 sessions, it would be interesting to find out what ran
> out first, disk space or memory. Depending on the size of
> your stateful session beans, you could chew up a lot of disk
> space creating that many references as most of them would be
> passified to disk (i.e. serialized to a file). If you are
> using OpenEJB 0.8.2, the default passivation location is your
> system tmp directory. Do you happen to have a Linux/Unix
> system with a separate partition for /tmp? Usually those are
> not that big and can fill up easily.
>
> At any rate, the part of the system that does the stateful
> session bean passivation is pluggable, so it's possible to
> write one that stored instances in more performant locations
> like an object database or file system cluster, etc.
>
> -David
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf
> Of Cinq - Marcello Orsi Schmidt
> Sent: Tuesday, October 01, 2002 1:42 PM
> To: 'openejb-user'
> Subject: [OpenEJB-user] Openejb
>
>
> Hi
> I have been studying EJB with the book Mastering EJB
> (www.theserverside.com) and have adopted Eclipse to work as
> my IDE, and OpenEjb is working very nice, after I spent a
> little time learning how to configure Castor and OpenEjb
> itself. Just for fun, I made a client that makes 50000
> references to a SFSB, but OpenEjb stopped at some place near
> 16000. I think it was 16384, but I canīt remember. Althought
> I donīt think itīs a bug, but I would like to mention it.
> --
> Marcello Orsi Schmidt
> [EMAIL PROTECTED]
>
>
>
>
> __________________________________
> Cinq Technologies - http://www.cinq.com.br
> ------------------------------------------------------- This
> sf.net email is sponsored by: DEDICATED SERVERS only $89!
> Linux or FreeBSD, FREE setup, FAST network. Get your own
> server today at http://www.ServePath.com/indexfm.htm
> _______________________________________________
http://OpenEJB.sf.net OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or
FreeBSD, FREE setup, FAST network. Get your own server today at
http://www.ServePath.com/indexfm.htm
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user


__________________________________
Cinq Technologies - http://www.cinq.com.br



__________________________________
Cinq Technologies - http://www.cinq.com.br
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ http://OpenEJB.sf.net OpenEJB-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to