Path: chuka.playstation.co.uk!news From: "Andrew Murray" Newsgroups: scee.yaroze.freetalk.english Subject: Re: malloc... free??? Date: Wed, 30 Oct 2002 18:57:49 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 29 Message-ID: References: NNTP-Posting-Host: pc-80-195-1-64-dn.blueyonder.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I have tried out malloc now and the problem is when too much memory is assigned. I have several balls of the screen they are contained in a linked list and they can be added to or removed, I get to around 600 and the yaroze crashes. The size of my structure isn't that big. All i have in it is a GsSprite struct, an x and y velocity (ints), a pointer to the next ball and the last ball collided with. I havn't worked out its size yet but surely it should'nt crash the yaroze when I add as few as 600 balls, I don't know, I'm a dunce really... Max "Andrew Murray" wrote in message news:ap9820$5pn5@www.netyaroze-europe.com... > I hear that the malloc and free functions in the current itteration of the > Yaroze libs are not functioning 100% as they should be... > > Has anyone heard of this problem or how to fix it, i.e. an updated malloc.h > and/or libps.h??? > I downloaded the libps.zip that is on the yaroze site but it didn't claim to > fix this supposed problem. > > Thanks > Max > >