----- Original Message -----
From: "JayT" <[EMAIL PROTECTED]>
To: "John Sutter" <[EMAIL PROTECTED]>
Sent: Friday, June 30, 2000 2:36 PM
Subject: Re: [JAVA3D] java.lang.OutOfMemoryError


> I've have tried the shareware version of OptimizeIt and part
> of the memory is hogged up by some  large arrays storing
> MANY scene objects.  Compound that with the fact that
> I'm trying to display multiple universes (which i've read is
> not really recommended).  I understand there would be a
> strain in memory that may be due to the fact of the total
> number of shapes i'm trying to render.  But, I'm not familiar
> with other API's (other than OpenGL, and I haven't ruled
> out trying to backtrack and go through that solution) but
> I'm just wondering if other Java packages are also memory
> hogs.. (I guess dealing in Java itself, inherantly there will
> be memory issues)
>
> While I'm on the subject,  when I do display items on the
> screen, is the mouse event handler (for java3d) supposed
> to be that slow when there are many items on the screen?
>
> I've compared my program to another similar program
> written in Motif and PEX (PHIGS for X-windows) and
> there really in no comparison.. but I'm thinking this is just the
> nature of Java itself -> quick turnaround in design-implementation..
>
>
> Jay
>
> ----- Original Message -----
> From: "John Sutter" <[EMAIL PROTECTED]>
> To: "Discussion list for Java 3D API" <[EMAIL PROTECTED]>; "JayT"
> <[EMAIL PROTECTED]>
> Sent: Friday, June 30, 2000 1:54 PM
> Subject: Re: [JAVA3D] java.lang.OutOfMemoryError
>
>
> > Have you used a profiling tool such as Optimizeit yet?
> >
> > Are you using JRE 1.3 Beta on Solaris?  Our experience there
> > hasn't been great.  Lots of memory bloat compared to 1.2.2.
> >
> > -j
> >
> >
> > JayT wrote:
> > >
> > > I have a rather large app with many items in the scenegraph and
> > > having an OutOfMemoryError is not uncommon to me.  It IS quite
> > > frustrating.  I try to design optimized code and utilize the command
> > > line optimizations and I've come to the conclusion that it's going to
> > > be a part of my code.  The thing that I do now is to limit the
> > > number of times of obtaining that error.
> > >
> > > Systems I have:
> > > PIII/600Mhz/128MB/16Mvideo
> > > PII/450Mhz/256MB/16Mvideo
> > > Ultra2/3D creator
> > >
> > > Optimization line I use:
> > > java -Xmx160000000 -ms128000000  myprogram
> > >
> > > (i've played around with the numbers but it doesn't really
> > > matter)
> > >
> > > Just wondering out loud if there is going to be a VALID solution
> > > to this problem because I don't believe I'm the only one that
> > > has this problem..
> > >
> > > Thanks,
> > >
> > > Jay
> > > ----- Original Message -----
> > > From: "b. white" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, June 30, 2000 8:20 AM
> > > Subject: [JAVA3D] java.lang.OutOfMemoryError
> > >
> > > >    I submitted a few questions related to the java.lang.OutOfMemoryError
a
> > > > few weeks ago.  I have now encountered it again in another app I am
> > > > designing.  I haven't yet been able to determine if this is a java/j3d
> > > > problem, or a mistake I am making in my code.  If anyone else has
> > > > encountered this problem please let me know what you did to solve it.
If
> > > > their is a bug filed for a memory leak related to creating, adding and
> > > > removing multiple  branchgroups please let me know.
> > > >
> > > >    Thanks
> > > >    Brian
> > > >    [EMAIL PROTECTED]
> > > >
> > > >
> ===========================================================================
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > > > of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
> > > > [EMAIL PROTECTED] and include in the body of the message "help".
> > > >
> > >
> > >
===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> > > of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to