From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d139a44b4dd6bc63,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!inet.fi!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Date: Wed, 29 Nov 2006 13:43:46 +0200 From: Niklas Holsti User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Possible heap problem on Windows, help sought Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <456d72b1$0$31519$39db0f71@news.song.fi> Organization: TDC Song Internet Services NNTP-Posting-Host: laku61.adsl.netsonic.fi X-Trace: 1164800689 news.song.fi 31519 81.17.205.61:33005 X-Complaints-To: abuse@song.fi Xref: g2news2.google.com comp.lang.ada:7735 Date: 2006-11-29T13:43:46+02:00 List-Id: Hi all, I'm using Gnat 3.15p (why change if it works ;-) on both MS Windows XP and Linux (Debian) and having some problems on the Windows platform that I suspect may be due to lack of heap space in my application. I'm not experienced with Windows programming so I may be omitting something obvious. My compiled Ada application runs fine on Linux both for large and small jobs. On Windows it works for small jobs but stops in the middle for larger ones, with no error or exception message. Here "large" means about 250 - 300 MB of heap. I have some catch-all exception handlers at various levels of the software that should report exceptions using Text_IO, but nothing appears. The funny thing is that if I run the application under gdb on Windows it works for large jobs too. I've tried to link the application with larger heap space using the advice in the GNAT User Guide, for example gnatlink -g -v appname -Wl,--heap=0x18000000,--stack=0x1300000 but this did not help; the symptoms are the same. I'd be grateful for any help. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .