Loading ...
Sorry, an error occurred while loading the content.

Memory leak in the GUI Loft

Expand Messages
  • Brian Millham
    Hi all, I ve been using the GUI Loft for about a month now, and I love it. It s so nice to not have to manually figure out where to place things in a form! I
    Message 1 of 4 , Dec 13, 2004
    • 0 Attachment
      Hi all,
      I've been using the GUI Loft for about a month now, and I love it. It's so
      nice to not have to manually figure out where to place things in a form!

      I have noticed that there is a strange memory leak. It's easy to reproduce,
      just start taskmgr.exe (on W2K and I think also XP). Then start tgl.exe
      (don't click on anything in tgl) and watch your memory usage climb. Click
      on the processes tab (in task manager) and click on "Mem Usage" and watch
      tgl.exe use about 4K/sec.

      I discovered this one day after I had left tgl running for a few days (bad
      habit of mine, not closing apps). My system has 1.5G of memory. It was
      running real slow, so I checked memory usage, and saw that 1.5G was in use!
      I've learned to close tgl when I'm not using it :-)

      Brian Millham
      This message traveled at least 44,000 miles to reach you!
      bmillham@...


      ---
      avast! Antivirus: Outbound message clean.
      Virus Database (VPS): 0451-0, 12/13/2004
      Tested on: 12/13/2004 9:48:06 PM
      avast! is copyright (c) 2000-2003 ALWIL Software.
      http://www.avast.com
    • Johan Lindstrom
      ... When does the error appear? Is it in the TGL Test Window, or is it in your own application? If it s the latter, what Win32::GUI version do you run? I just
      Message 2 of 4 , Dec 14, 2004
      • 0 Attachment
        At 19:47 2004-12-13, gmythx wrote:
        >When I use a RichEdit control in a window I get a memory error. The
        >error states that the memory at a certain address can not be read.
        >If I replace the RichEdit control with a text field I do not get the
        >error. I can even design a basic window with nothing but a rich edit
        >control and code to open the window and I still get this error.

        When does the error appear? Is it in the TGL Test Window, or is it in your
        own application? If it's the latter, what Win32::GUI version do you run?

        I just tried and I get a memory violation when I close the application if I
        previewed with a RichEdit. I use 5.8.x and Win32::GUI 1.0.

        BTW, this sounds like a Win32::GUI bug of some kind, so I cross-post this
        to the win32-gui-users list.


        /J

        -------- ------ ---- --- -- -- -- - - - - -
        Johan Lindström Sourcerer @ Boss Casinos johanl AT DarSerMan.com

        Latest bookmark: "TCP Connection Passing"
        http://tcpcp.sourceforge.net/
        dmoz: /Computers/Programming/Languages/JavaScript/ 12
      • alexatkins86
        ... It s so ... reproduce, ... Click ... watch ... days (bad ... in use! ... I am also experiencing this problem. I m surprised more people haven t commented.
        Message 3 of 4 , Apr 21, 2005
        • 0 Attachment
          --- In theguiloft@yahoogroups.com, Brian Millham <bmillham@d...> wrote:
          >
          > Hi all,
          > I've been using the GUI Loft for about a month now, and I love it.
          It's so
          > nice to not have to manually figure out where to place things in a form!
          >
          > I have noticed that there is a strange memory leak. It's easy to
          reproduce,
          > just start taskmgr.exe (on W2K and I think also XP). Then start tgl.exe
          > (don't click on anything in tgl) and watch your memory usage climb.
          Click
          > on the processes tab (in task manager) and click on "Mem Usage" and
          watch
          > tgl.exe use about 4K/sec.
          >
          > I discovered this one day after I had left tgl running for a few
          days (bad
          > habit of mine, not closing apps). My system has 1.5G of memory. It was
          > running real slow, so I checked memory usage, and saw that 1.5G was
          in use!
          > I've learned to close tgl when I'm not using it :-)
          >
          > Brian Millham
          > This message traveled at least 44,000 miles to reach you!
          > bmillham@d...
          >


          I am also experiencing this problem. I'm surprised more people
          haven't commented. Has somebody secretly found a way to avoid it?

          J Alexander D Atkins
          http://homepage.ntlworld.com/atkinsfamily
        Your message has been successfully submitted and would be delivered to recipients shortly.