Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show only replies by melott
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 Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: OS 3.9 ---how to increase the heap ????
« Reply #1 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.
 

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show only replies by melott
Re: OS 3.9 ---how to increase the heap ????
« Reply #2 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 rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: OS 3.9 ---how to increase the heap ????
« Reply #3 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.
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline melottTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 989
    • Show only replies by melott
Re: OS 3.9 ---how to increase the heap ????
« Reply #4 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-)
 

Offline darksun9210

Re: OS 3.9 ---how to increase the heap ????
« Reply #5 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:

A500, A600, A1200x3, A2000, A3000, A4000 & a CD32.
and probably just like the rest of you, crates full of related "treasure" for the above XD