Sounds like issue of run-time system at Windows 7.
Possible reason is improper garbage collection (Kernel.NewBlock)
and/or exception handling of system exceptions (Kernel.TrapHandler).
2012/8/8 Campbell, Robert (SELEX GALILEO, UK) <robert.d.campbell{([at]})nowhere.xy
>> [Sudden idea as I write this; yes I can!. They use a 64-bit version of HostFiles -
>> written by Oms - maybe the problem is there.
>> I need to investigate!]
No problem with the 64-bit version of HostFiles.
The problem is related to requests for large amounts of memory.
I uses 'Matrices' (POINTER TO ARRAY OF POINTER TO ARRAY OF BYTE / SHORTINT / INTEGER / SHORTREAL / REAL etc).
When I reduce the array sizes (by changing the bounds and downsizing from REAL to BYTE) my application runs ok.
My test program (calculate Pi to 5 million digits) uses a lot of memory, but not enough to break Windows 7.
So, provisional conclusion, significantly less memory is available to users under Windows 7, and when you exceed the limit
the machine crashes in a (*very*) user unfriendly manner.
Under XP, when I ask for more memory than NEW can allocate, I get a sensible error message saying my pointer is still NIL. It
seems that 7 gives me a non-NIL pointer pointing to invalid memory. Great!
Regards
Robert - Have a nice day!
SELEX Galileo Ltd
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
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Wed Aug 08 2012 - 14:37:24 UTC