Re: [ng-spice] Problems with GC malloc


To ng-spice@ieee.ing.uniroma1.it
From cinbody <cinbody@cowtown.net>
Date Mon, 04 Jun 2001 21:12:24 -0500
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
References <Pine.BSI.4.05L.10106041321310.24423-100000@network.ucsd.edu >
Reply-To ng-spice@ieee.ing.uniroma1.it

Hello Robert,

I cannot directly address your concern but I had a
problem of similar nature once with ng-spice in that
I was iterating through the same deck many times
(seems like 10 or 100 or more, it's been a while),
the problem wound up being a fixed array size in the
ng-spice code (read memory leak) and no one had ever
caused the engine to iterate that many times. So I got the
luck of the draw. I did not fix it properly (I just bumped
the array size when I should have written in malloc() and free())
but this might give you a place (conceptually) to start looking.

Chris Inbody


Partial thread listing: