Results 1 to 3 of 3

Thread: gluQuadric + memory problems

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Southampton, England

    gluQuadric + memory problems

    I am building a representation of a hand using basic quadric objects (spheres + cylinders) with controlled rotations at joints etc. I am keeping everything simple, but after a number of movement my machine slows down (350Mhz, 128M, TNT2) and it kills a friends machine. Is this a memory problem? Do I need to destroy the display lists, am I filling up a stack somehow? Anyone have any ideas?

  2. #2
    Member Contributor
    Join Date
    Feb 2000
    Stafford, UK

    Re: gluQuadric + memory problems

    Are you running from VC++? Ive had a similar problem, but have been unable to resolve it, try running your executable, rather than from your compiler and see if the same problem occurs...

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2000
    SubVobWee, near Rigel

    Re: gluQuadric + memory problems

    This might be due to a memory leak.
    When the leak gets to big, you're stack is being filled with crap at about ten megs a second. Check any malloc or calloc calls that occur in a loop or something and aren't being freed, if you can't find anything, then it could be GL's fault. If you are running a debug build in VC, try running a release build and see if it still occurs.

    Mike The Spike

    PS. I had the same problem with Direct 3D where an execute buffer (vertex list) was being duplicated in a loop and never freed.

Similar Threads

  1. memory problems
    By macsam in forum OpenGL: Windows
    Replies: 3
    Last Post: 12-07-2018, 10:22 AM
  2. gluQuadric Functions & Memory Leaks
    By Carmine in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-11-2015, 12:17 PM
  3. texture memory problems
    By Xelatihy in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 01-05-2006, 03:28 PM
  4. memory allocation! still problems!
    By sandrew in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 01-18-2002, 05:32 AM
  5. Memory problems
    By B. Jacob in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-12-2001, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean