Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 00:36:55 +0000



Post From: Memory Usage increases - what is normal?

[2018-12-16 11:58:19]
SoS - Posts: 3
I give up. I've taken up two trial periods and still can't locate the problem. Tried with 1828 and 1850, memory usage is still ballooning, 3k at a time. I've scrapped all my classes and objects, and reverted to simple function calls instead, removed all usage of std:: libraries, delete[]'d even local arrays within void-returning functions. Still, RAM usage doubles after a couple of hours of running in realtime.

I do use a lot of s_UseTool drawing objects (about 100). But all of them are individually .LineNumber'd, .Clear()'d before updating and what have you. Admittedly, a few of them use a .BeginDateTime member which the documentation says is much less efficiennt than .BeginIndex, but still, I don't see how that could make memory jump 3k with every new bar. Maybe the s_UseTool class isn't cleaning up after itself?

Anway, I'm running out of time, so I guess I'll have to tell customers to restart Sierra every so many hours or when they feel things are getting sluggish.