Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: melott on May 10, 2008, 07:33:38 PM

Title: OS 3.9 ---how to increase the heap ????
Post by: melott on May 10, 2008, 07:33:38 PM
How can I increase the heap size on OS 3.9 ??

Having a problem with an old prg. running out of heap.

Mel


Title: Re: OS 3.9 ---how to increase the heap ????
Post by: Piru on May 10, 2008, 07:36:59 PM
It's called "stack" on amiga.

Anyway, if you start the program from shell, use "stack 65536" or whatever size you need before starting the program.

If you start the program from workbench, set the stack size from the Icon Information.
Title: Re: OS 3.9 ---how to increase the heap ????
Post by: melott on May 10, 2008, 07:48:38 PM
Quote

Piru wrote:
It's called "stack" on amiga.

Anyway, if you start the program from shell, use "stack 65536" or whatever size you need before starting the program.

If you start the program from workbench, set the stack size from the Icon Information.



Ummm ... tried that, increasing the stack in the Icon info.
still didn't work. I have a couple dos books and they kind
of indicate the heap is controlled seperately but not how
to increase it.

Mel
Title: Re: OS 3.9 ---how to increase the heap ????
Post by: rkauer on May 11, 2008, 05:04:22 AM
Quote

melott wrote:

Ummm ... tried that, increasing the stack in the Icon info.
still didn't work. I have a couple dos books and they kind
of indicate the heap is controlled seperately but not how
to increase it.

Mel


 Simply edit your Startup-sequence! Use "ED S:Startup-sequence" on a CLI (=shell / AmigaDOS / whatever-you-name-it).

 Whit the ED window opened, put this line somewhere before SETPATCH: "stack 65536" (no quotes). Save the file, close the ED program and reboot.
Title: Re: OS 3.9 ---how to increase the heap ????
Post by: melott on May 12, 2008, 01:26:58 PM
Quote

rkauer wrote:
Quote

melott wrote:

Ummm ... tried that, increasing the stack in the Icon info.
still didn't work. I have a couple dos books and they kind
of indicate the heap is controlled seperately but not how
to increase it.

Mel


 Simply edit your Startup-sequence! Use "ED S:Startup-sequence" on a CLI (=shell / AmigaDOS / whatever-you-name-it).

 Whit the ED window opened, put this line somewhere before SETPATCH: "stack 65536" (no quotes). Save the file, close the ED program and reboot.


OK.......... that didn't work either.

If someone could explain exactly what the stack/heap are
and how they work, (in some detail) I could do some reading
and maybe figure it out.
I'm bugged now  :-D  I want to solve this problem.

Mel
Title: Re: OS 3.9 ---how to increase the heap ????
Post by: darksun9210 on May 12, 2008, 01:33:51 PM
blimey! what are you trying to run? the only things i've really had to crank the stack for, was pretty much anything running open/miniGL....
try putting in some insane numbers in there, 600000 is a good number for ppc stuff... :lol: