Forum: Vue


Subject: Gotta ask - Memory Leaks?

thundering1 opened this issue on Jan 12, 2006 ยท 15 posts


dueyftw posted Thu, 19 January 2006 at 2:28 AM

Memory leaks are caused by poor programming. In real simple terms, you ask for a variable to get as much memory as it needs. The operating system might step in if it is asking for more ram than the computer has. Then the OS will but some of it on the hard drive. When the function is done you tell the operating system that your are done and please clean up everything. Not done right you can leave a place holder for that variable. Every time the function or that part of the program runs it put aside a small amount of memory that no program can use. Programs that are poorly written in C or C++ can have them because they are compiled languages. Python on the other hand is interpreted . The language handles all of this work. Is it possible for a Python program to have a memory leak? Sure, as much as my pinto flying. But I could drive it off a cliff.

I have looked under the hood of Vue and find that some of the files use a C or C++ headers. Is Vue a mix of Python and C++? I don't know with out seeing the source code.

If GDI objects was causing the problem then they should go away when you restrict Vue to havening only one or two undoes.

Dale

Message edited on: 01/19/2006 02:29

Message edited on: 01/19/2006 02:35