OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-06-2003, 07:59
dcsquare
Guest
 
Posts: n/a
Default CorelDraw eating up memory

I have a script that takes every node of every curve in a document and finds the nodes from other curves that are on top or beneath it, then moves them to the nearest grid point (the grid is predefined) (the purpose is still unclear to me, bot those were the specs of the project, so...). The script works, but...
To be sure I don't run out of memory on 100000+ nodes in a file, I initialize an array with all the nodes, on the prezumtion that after I do that, CorelDraw wouldn't have any reasons to eat up more memory (so that if it crashes, let it crash after 1 minute, not after 1 hour).
The problem is that CorelDraw is slowly eating up memory after that (about 150 megs/hour ). I even tried to make all variables global (I've read somewhere that VB frees the memory alocated for a subroutine only after the whole script ends) but to no result.
Is this a known bug? Or can I do something to free the memory while the script is running?
Reply With Quote
  #2  
Old 06-06-2003, 09:47
bbolte
Guest
 
Posts: n/a
Default

what version of corel? i've noticed that 11 is a little better with memory than 10 was. but corel is a resource hog - more than most graphics programs.

another question. is corel working on the script the whole hour?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CorelDRAW 12 SP1 is available Alex CorelDRAW/Corel DESIGNER VBA 1 04-08-2004 01:43
Memory leak in PP11 Horst Corel Photo-Paint VBA 0 16-04-2004 09:13
Condition #1002 -Listman- 0737 (Wierd memory leaks issues) wbochar CorelDRAW/Corel DESIGNER VBA 6 15-05-2003 16:48
Creating macros for CorelDraw 10 in CorelDraw 11 Rick Randall CorelDRAW/Corel DESIGNER VBA 1 14-03-2003 08:00
CorelDRAW 11 and AddIn’s reanan CorelDRAW/Corel DESIGNER VBA 2 03-12-2002 14:21


All times are GMT -5. The time now is 16:49.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com