Hi, all...
I have experienced an odd memory leak problem with wxOGL.
I modified a wxOGL demo in demo directory and it worked quite well on my
dell desktop. But when I copied the codes and ran it on my IBM ThinkPad
laptop, I got memory leak error message.
Does the memory leak problem depend on the machine on which the wxPython
program is running? I tested a lot on my laptop, but no memory leak on my
laptop.
Is this known problem?
By the way, I asked how to use a popup menu in the previous email and found
it by myself. The reference distributed with wxPython is outdated. We should
use PopupMenu( menu, wxPoint( x, y ) ) instead of PopupMenu( menu, x, y )
which is what the current reference says.
I have experienced an odd memory leak problem with wxOGL.
I modified a wxOGL demo in demo directory and it worked quite well on my
dell desktop. But when I copied the codes and ran it on my IBM ThinkPad
laptop, I got memory leak error message.
Does the memory leak problem depend on the machine on which the wxPython
program is running? I tested a lot on my laptop, but no memory leak on my
laptop.
Is this known problem?
Are they different versions of Windows?
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Friday, November 23, 2001 1:09 PM
Subject: Re: [wxPython] [Q] wxOGL and memory leak
> I have experienced an odd memory leak problem with wxOGL.
> I modified a wxOGL demo in demo directory and it worked quite well on my
> dell desktop. But when I copied the codes and ran it on my IBM ThinkPad
> laptop, I got memory leak error message.
> Does the memory leak problem depend on the machine on which the wxPython
> program is running? I tested a lot on my laptop, but no memory leak on
my
> laptop.
> Is this known problem?
Are they different versions of Windows?
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
I checked the settings of two computers.
They are running Windows 2000 professional and I am using Python 2.1.1 and
wxPython 2.3.1.
I think I got the same memory leak problem in any wxPython application. I
tested several wxPython application such as PySketch and I experienced the
same memory leak problem.
Any ideas on this problem?
Thanks in advance.
YJ
···
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Friday, November 23, 2001 1:09 PM
Subject: Re: [wxPython] [Q] wxOGL and memory leak
> I have experienced an odd memory leak problem with wxOGL.
> I modified a wxOGL demo in demo directory and it worked quite well on my
> dell desktop. But when I copied the codes and ran it on my IBM ThinkPad
> laptop, I got memory leak error message.
> Does the memory leak problem depend on the machine on which the wxPython
> program is running? I tested a lot on my laptop, but no memory leak on
my
> laptop.
> Is this known problem?
Are they different versions of Windows?
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
I checked the settings of two computers.
They are running Windows 2000 professional and I am using Python 2.1.1 and
wxPython 2.3.1.
Are they both the hybrid version?
I think I got the same memory leak problem in any wxPython application. I
tested several wxPython application such as PySketch and I experienced the
same memory leak problem.
It is kind of hard to reprt what objects causing memory leaking because a
command window of windows2000 does not support a copy/paste action. I also
tried to redirect the error message when I ran a python script, but it
didn't work, either. Is there any convenient way to capture the error
message I got in the command window?
YJ
···
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.wxwindows.org>
Sent: Friday, November 23, 2001 8:48 PM
Subject: Re: [wxPython] [Q] wxOGL and memory leak
> I checked the settings of two computers.
> They are running Windows 2000 professional and I am using Python 2.1.1
and
> wxPython 2.3.1.
Are they both the hybrid version?
> I think I got the same memory leak problem in any wxPython application.
I
> tested several wxPython application such as PySketch and I experienced
the
> same memory leak problem.
What kind of objects are reported as leaking? Do you get the same leaks
if
you use the version of pySketch in 2.3.2b7, (which can be downloaded here
I have the following little app, which works fine on ms win but on redhat
7.1 the line:
menuBar.Append(menu, "&File")
keeps dumping a core. I'm using Python 2.1.1, wxGTK-2.3.1 and
wxPython-2.3.1-1-Py21
I've also seen a number of examples which have a semicolon after that line,
why?
self.SetAutoLayout(true)
menu = wxMenu()
menu.Append(ID_ABOUT, "&About", "More information about this program")
menu.AppendSeparator()
menu.Append(ID_EXIT, "E&xit", "Terminate the program")
I have the following little app, which works fine on ms win but on redhat
7.1 the line:
menuBar.Append(menu, "&File")
keeps dumping a core. I'm using Python 2.1.1, wxGTK-2.3.1 and
wxPython-2.3.1-1-Py21
I don't have any problems in my current 2.3.2 workspace (I don't have a
2.3.1 readily available.) I also don't see anything wrong with your code.
Does the demo run oaky?
I've also seen a number of examples which have a semicolon after that
line,
why?
They were probably originally translated from wxWindows C++ code.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!