Welcome, Guest. Please login or register.

Author Topic: VBCC crashing after error messages...  (Read 950 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: VBCC crashing after error messages...
« on: August 31, 2004, 09:59:43 PM »
@Jose

Any moderately large program needs a considerable amount of memory to compile, especially if optimizing is enabled.

For instance, one of my ongoing projects when compiled with stormC4 in gcc mode can get through 40MB of memory during a full build.

int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: VBCC crashing after error messages...
« Reply #1 on: August 31, 2004, 10:10:54 PM »
Perhaps if they allocate MEMF_FAST rather than MEMF_PUBLIC.

A well behaved program should handle memory exhaustion cleanly, however.

I've never had vbcc crash - I had some strange warnings from it ( :-D ) but never an outright crash.
int p; // A