Re: [BLACKBOX] can NEW return NIL?

From: Campbell, Robert (SELEX GALILEO, UK) <"Campbell,>
Date: Tue, 26 Feb 2008 16:42:00 -0000

----boundary-LibPST-iamunique-1119047899_-_-
Content-type: text/plain

Andrew

Yes. It is more likely if the memory is fragmented.

Sometimes a 'Kernel.Collect' & retry is successful.

If there are gaps between your 900 Mbyte of old stuff that are too small
for your new stuff you are out of luck.

Robert

 

>> -----Original Message-----
>> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>> Of Andrew Thomas
>> Sent: 26 February 2008 16:27
>> To: BLACKBOX{([at]})nowhere.xy
>> Subject: [BLACKBOX] can NEW return NIL?
>>
>> *** WARNING ***
>>
>> This mail has originated outside your organization, either
>> from an external partner or the Global Internet.
>> Keep this in mind if you answer this message.
>>
>> Moi BlackBox community,
>>
>> Is it possible for the NEW function to return a NIL pointer.
>> I think this happened after allocating about 900MB of heap.
>> I have been able to allocate more heap, around 1.5GB, so the
>> problem is not that there is no more RAM. Maybe it is
>> something to do with the number of objects on the heap.
>>
>> Moi moi
>>
>> Andrew
>>
>>
>> ---- To unsubscribe, send a message with body "SIGNOFF
>> BLACKBOX" to LISTSERV{([at]})nowhere.xy
>>

SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1119047899_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2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GVt
cyBMaW1pdGVkXHBhcg0KUmVnaXN0ZXJlZCBPZmZpY2U6IFNpZ21hIEhvdXNlLCBDaHJpc3RvcGhl
ciBNYXJ0aW4gUm9hZCwgQmFzaWxkb24sIEVzc2V4IFNTMTQgM0VMXHBhcg0KQSBjb21wYW55IHJl
Z2lzdGVyZWQgaW4gRW5nbGFuZCAmIFdhbGVzLiAgQ29tcGFueSBuby4gMDI0MjYxMzJccGFyDQoq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKlxwYXINClRoaXMgZW1haWwgYW5kIGFueSBhdHRhY2htZW50cyBhcmUgY29uZmlk
ZW50aWFsIHRvIHRoZSBpbnRlbmRlZFxwYXINCnJlY2lwaWVudCBhbmQgbWF5IGFsc28gYmUgcHJp
dmlsZWdlZC4gSWYgeW91IGFyZSBub3QgdGhlIGludGVuZGVkXHBhcg0KcmVjaXBpZW50IHBsZWFz
ZSBkZWxldGUgaXQgZnJvbSB5b3VyIHN5c3RlbSBhbmQgbm90aWZ5IHRoZSBzZW5kZXIuXHBhcg0K
WW91IHNob3VsZCBub3QgY29weSBpdCBvciB1c2UgaXQgZm9yIGFueSBwdXJwb3NlIG5vciBkaXNj
bG9zZSBvclxwYXINCmRpc3RyaWJ1dGUgaXRzIGNvbnRlbnRzIHRvIGFueSBvdGhlciBwZXJzb24u
XHBhcg0KKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKipccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3Jp
YmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNF
UlZATElTVFMuT0JFUk9OfX0ANDkzMzUNCg=
----boundary-LibPST-iamunique-1119047899_-_---
Received on Tue Feb 26 2008 - 17:42:00 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:00 UTC