Huge memory & cpu consumption

SunDog

Member²
At some point, usually during the editing of a package, the CPU usages spikes up to 100% while the memory consumption goes up 10X. I have two instances running, one using 48,640K and one using 443,844K with no editors open and no current connection. Once the memory jumps up, it never goes back down.
Can you say "memory leak"?
(Version 7.1.0.1337)

After restarting, I opened the same package file and continued where I left off. The package has 6909 lines with this structure:

1: CREATE...
2-266: commented with /* */
267-783: mostly code
785-6908: commented with /* */
6909: END;

As soon as I typed /* at line 500 to comment out some more code, the CPU and memory shot up. Is it trying to be smart with the gutter highlighting? And why doesn't closing the Program Window release the memory?
 
Can you send me the package source and let me know where exactly I need to make what modification to reproduce this?
 
Hi Marco,

I sent you the package code. Steps to reproduce are:

1) No database connection is required
2) Open the file as a Program File
3) Highlight lines 786 to 6909, inclusive. (These are the currently commented out lines.)
3.1) Memory spikes to ~160MB. (This case doesn't spike up to 450MB like yesterday).
4) Right-click to get context menu.
4.1) CPU usage goes up to 100%
5) I waited 15 minutes for it to come back but it didn't so I killed it.
 
Sorry, but this does NOT appear to have been fixed in version 7.1.1.1339. My same test case still results in 100% CPU usage.
 
The memory usage is fixed, but a right-click does indeed still cause the CPU usage problem. We'll fix it.
 
Back
Top