![]() |
#1
|
|||
|
|||
![]()
Hi,
I have a prog which reads a text from a file and writes it in a .JPG picture. Checking at the same time the available memory, I see that after repeating this operation 80 times, memory goes down by 20MB. But I must repeat this operation 1000 times and I have 100MB only available. I'm using PP11. My prog looks like this: Code:
'Original picture is already in memory. CorelScript.EditCopy 'Copy it CorelScript.EditPasteDocument 'create new document Line Input #1, text WriteIntoPicture(text) NameFile=f(text) CorelScript.FileSave NameFile, cdrJPEG, 3 CorelScript.FileClose Loop Note that the .JPG picture has 12KB only (380KB uncompressed in memory) I 've seen that Alex suggested time ago to a similar problem to add following line: Application.Optimization=true but this is rejected as an error as it is not a valid Application method. Anyone can help me to solve this memory leak? Thanks Horst |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to use pp11 comands in vba | dnvrdave | Corel Photo-Paint VBA | 4 | 19-08-2004 11:35 |
Many CorelScript methods not working in PP11 | feldgendler | Corel Photo-Paint VBA | 2 | 24-04-2004 14:41 |
Layer rotate without anti aliasing (PP11) | joexx | Corel Photo-Paint VBA | 2 | 19-03-2004 02:08 |
CorelDraw eating up memory | dcsquare | CorelDRAW/Corel DESIGNER VBA | 1 | 06-06-2003 10:47 |
Condition #1002 -Listman- 0737 (Wierd memory leaks issues) | wbochar | CorelDRAW/Corel DESIGNER VBA | 6 | 15-05-2003 17:48 |