Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

observation on memory consumption

<< < (8/11) > >>

thomas:

--- Quote ---Maybe the reason for CB not crashing on my machine is that I have a single-core... :-/
--- End quote ---
My AMD64 is single-core as well, but I saw several crashes this afternoon, too. I can't reproduce them now in 1888, but I get a constant freeze when changing the parser settings (turning off "follow includes").

mandrav:

--- Quote from: rickg22 on January 27, 2006, 09:22:38 pm ---Yiannis: I haven't noticed crashes with codecompletion, please post stack traces

--- End quote ---

As I said: C::B just dies. I don't get a crash dialog or anything. Like a stack overflow or something...

tiwag:
i did another test:

CodeBlocks - all plugins disabled except for
*Compiler, *Debugger and *MIME Handler

then i continuously opened and closed CodeBlocks.cbp (rev 1888)

1.) first time with startpage enabled,
2.) second time without startpage.
the results are (almost) the same.

from test 1.)
14x CodeBlocks.cbp opened/closed

from the last 13 times we get a memory rise of 8.4MB (from 11.2 to 19.6 MB)
mean value of mem-rise = 8.4MB/13 =~ 0.65MB per open/close of the project.


[attachment deleted by admin]

rickg22:
So there's a leak elsewhere? O.o

Ok, try it without debugger / MIME handler now.

Michael:
Hello,

I have remarked something about memory leaks. I have tried to open/close several times the C::B project with all the plugins and I have remarked that each time I lose around 2MB. For example if at beginning I have X=2MB, then after opening and closing C::B project I have X=4MB. If I repeat I will have X=6MB and so on. Then I have tried without plugins. I have switched off all the plugins in the 2menage plugins". I have observed the same behavior. X=2MB, then X=4MB, then X=5MB, then X=7MB and so on. Practically, the memory needed to open the C::B project is not released when I close the workspace.

Hope this could help :).

Michael

[EDIT] Sorry I have forgotten to say that I have used rev1889.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version