--- [EMAIL PROTECTED] wrote: > Joe Wilson <[EMAIL PROTECTED]> wrote: > > --- [EMAIL PROTECTED] wrote: > > > Mostly I am interested in making sure that malloc(1000) does not > > > fail even though you have 50000 bytes free and they just happen > > > to be scattered about as 100 discontinguous blocks of 500 bytes > > > each. > > > > It's a good goal. You can reduce the likelihood of failure perhaps, > > but I don't think that you can guarantee it without moving blocks > > and reswivelling all the pointers. > > So Joe's advice is give up and go home. Duely noted. But if it > is all the same to you, I think I will ignore this advice and > press onward...
Not sure how you concluded that from what I wrote. I merely suggested that moving blocks of memory may be more effective in not fragmenting memory. You disagree. No problem. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------