I have no geometry with vertex colors. The current solution is maybe using -Xms option 
to have many heaps for gc as you wrote. ^^; Using the -Xms option, the gc is triggered 
very infrequently.

thank you. 

----- Original Message ----- 
From: "Artur Biesiadowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 20, 2002 2:25 AM
Subject: Re: [JAVA3D] garbage collection problem in updating geometry info


> 오  (Sengwoo Oh) wrote:
> 
> > Garbage collection occurs if i call updateData function even though
> > updateData function is empty as shown in following code.
> 
> Do you have geometry with vertex colors ? If yes, then you are leaking
> small Object[] array which java3d creates on every update. I had same
> problem. For data without vertex colors, some function inside java3d
> returns single value. But with vertex colors, it returns two values,
> which are wrapped in Object[] {value1,value2}. This single array was
> only garbage I have produced in my app. But it was taking so small
> place, that gc was triggered very infrequently and incremental stage was
> able to clear it all.
> 
> Artur
> 
> ===========================================================================
> 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".
> 
N�����r��zǧu隊[h�+-��ڲ�ܢf�v)ܖ�^�{ay�ʇ�鞲ƠzȠ���$@�2
LDDI1h��z����i���zf���%��lz��j���w(��݊w%�ע��^n�r��azg�����i


Reply via email to