Article View: borland.public.jbuilder.java.swing
Article #581garbage collector - performance problem
From: Zoran Pjevic
Date: Wed, 02 Mar 2005 13:35
Date: Wed, 02 Mar 2005 13:35
29 lines
1892 bytes
1892 bytes
Hello I not sure that my question is related to Swing, but is is my best guess. We have an Swing based GUI which is on top of a C++ embedded application which feeds data into a hardware unit. In stress testing conditions under very high data rates everything runs fine for up to 15 hours. But then occasionaly it happens that the hardware gets a datadrop. When the same test is performed without the GUI, this is not noticed. So I suppose that the garbage collector is doing incremental collecting for hours and hours and then when some limits are reached it peforms some major collecting, which slows down the GUI and with it the underlying C++ core. If this is the case - is there any way to programmatically influence the schema of how the garbage collector works or at least to get a message from the garbage collector when it starts this major collecting? Or can I force it to to do its job in the background? Or do you think I am completely wrong with my interpretation of the problem? Thanks for any hints, Zoran
Technical Details
Message-ID:
<mdfb21hrbfafuvk3o6p7ormovgbj64cumo@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,d46e183f285a3126,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: Zoran Pjevic <zpjevic@anitesystems.de> Newsgroups: borland.public.jbuilder.java.swing Subject: garbage collector - performance problem Date: Wed, 02 Mar 2005 14:35:38 +0100 Message-ID: <mdfb21hrbfafuvk3o6p7ormovgbj64cumo@4ax.com> X-Newsreader: Forte Free Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.157.29.250 X-Trace: newsgroups.borland.com 1109770514 213.157.29.250 (2 Mar 2005 05:35:14 -0800) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail