Re: Matheval ... the next step ...again
Mike777 wrote:
>
> Hi, Matt,
>
> I really appreciate your responses.
>
> I'm taxing the system fairly heavily on this application I'm attempting
> to build. At least I think I am.
>
> Then again, maybe not. I've got about 1400 lines in my file that I use
> to build controls (using newUIObj) and about 150 (so far) block files
> that are each processed through Matheval when the system runs. I'm
> expecting the number of controls to double and the number of block files
> that will be accessed on any given template being processed of something
> around 800 (when I get done - it is a complicated set of documents).
You know, it might be simpler if you just embedded ooeu (http://ooeu.sf.net)
instead of abusing matheval like this. :)
> The issue is that I *think* I've discovered a memory leak. Let's put
> it this way, my memory usage climbs at about 100k every second until
> it gets to about 1.5 meg, then it starts ratcheting down to less than
> 100,000 and then it starts all over again. I didn't feel like letting
> it go to the point where the system required restarting. It normally
> runs at less than 10k in memory (per the task manager).
<snip>
> The offending line is:
>
> (mySeq := mySeq),
>
> If I comment that out:
>
> -- ((mySeq := mySeq),)
>
> then the system runs fine. No memory loss. Program runs to completion
> in about 1 second.
I'll take a look. This doesn't seem like it should be happening. Could
you possibly post a minimal example that demonstrates this behavior?
Matt
|
Not Categorized, Please Help
|
|