VTK as a resource eater - when using labels

Louis le Grange louis at softflo.com
Mon Jan 10 13:39:40 EST 2000

Hallo Tony

Yes, that bit of information (dual processor and 95) I gave was useless - I
have two disks on my machine. I can boot NT on the one and 95 on the other -
separate powered I must add. On NT I did not notice any problems - the
resource problem showed up on 95.

Regards, Louis

> -----Original Message-----
> From: Pan, Tony C (CRD) [mailto:tpan at crd.ge.com]
> Sent: Monday, January 10, 2000 5:34 PM
> To: 'Louis le Grange'
> Subject: RE: VTK as a resource eater - when using labels
> I don't know what the work around is.  I just want to point out
> that win95 is a single processor os.
> It does not use your second CPU
> -----Original Message-----
> From: Louis le Grange [mailto:louis at softflo.com]
> Sent: Monday, January 10, 2000 10:02 AM
> To: vtkusers at gsao.med.ge.com
> Subject: VTK as a resource eater - when using labels
> Hallo everyone
> When one runs the attached version of cone3.cxx under Windows95 and rotate
> it a bit, the system complains that more than 90 percent of all system
> resources were consumed. One can also monitor this behaviour watching the
> resource meter under system tools.
> The problem is that when one works with this situation it happens that the
> screen gets blank after a while an no plotting is possible anymore -
> possibly due to no system resources left.
> The phenomenon can easily be seen when one increases the resolution of the
> cone data, i.e.
>     cone->SetResolution(1118); - see attached file
> The phenomenon further has to do with using vtkLabeledDataMapper.
> My first question is what kind of resources are used in such abundance?
> My second question is how can one work around this problem? It is not
> uncommon to use a few thousand of labels for numbering points.
> This however
> seemed to be impossible on my 95 machine - I must add that I have 512 MB
> ram, 400MHz machine and dual processores.
> Thirdly, how can I release these resources in use and go on
> working further?
> I have tried things like
> coneMapper->ReleaseGraphicsResources(renWindow) (see attached file),
> but the resources monitor of Win95 indicates that no resources are freed.
> Thanks in advance, Louis

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list