[softwarelist] Re: Odd DPlngScan error

  • From: David Pilling <david@xxxxxxxxxxxxxxxx>
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Thu, 22 Dec 2016 21:51:59 +0000

Hi Chris,

On 22/12/2016 21:33, Chris Johnson wrote:

One thing you could do is up the wimp slot and try again. DPScan
manges its own memory, claiming it from (increasing) the wimp slot or

A weak part of DPScan is that it uses various libraries which simply malloc memory (or use other C library functions). That memory has to come from the fixed amount between the top of the program and the top of the wimp slot.

In the old days the temptation was to keep it too low. The program would go wrong with images that just happened to use up enough of this limited memory.

Problem is when you use a different compiler, libraries etc the memory needed changes.

This is one reason why using a dynamic area in addition to the programs wimp slot can be useful.

Anyway it is now possible to give the program a decent wimp slot.

The endless woe of memory management on RISC OS.



--
David Pilling
www.davidpilling.com
To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

Other related posts: