Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
- Posts: 137
- Joined: Tue Aug 05, 2014 10:07 am
I run the following:
Code: Select all
export snapshot from rect (the screenrect) to file "c:\Windows\Temp\Test.jpg" as JPEG
Every time the code is run, it adds 10mb to the Application memory in Task Manager. I have tried different versions of Livecode and I still get the same issue. On some versions it only increases by 2mb. I am using Livecode 7.0 for stability reasons for my App.
Any ideas on how I can curb the memory usage within my App?
- VIP Livecode Opensource Backer
- Posts: 8169
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
Googie85 wrote: ↑
Mon Nov 16, 2020 10:39 am
I am using Livecode 7.0 for stability reasons for my App.
Respectfully, if your goal is stability using older versions will not help you. Every release contains many fixes, and few if any regressions. The gap between whatever you're using and whatever is the latest is the sum of all things fixed in between.
Since v7 LC has had at least 200 fixes, and many significant optimizations.
It may be that this leak is among the fixes.
Either way, the first question anyone handling a bug report will have is whether the recipe still shows the problem in the most recent version.
Worth checking out...
Community volunteer LiveCode Community Liaison
LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/