Welcome, Guest. Please login or register.

Author Topic: OS 3.9 ---how to increase the heap ????  (Read 1691 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show all replies
OS 3.9 ---how to increase the heap ????
« 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


Stealth ONE  8-)
 

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show all replies
Re: OS 3.9 ---how to increase the heap ????
« Reply #1 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
Stealth ONE  8-)
 

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show all replies
Re: OS 3.9 ---how to increase the heap ????
« Reply #2 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
Stealth ONE  8-)