Re: Can't create pixmap [message #14738 is a reply to message #14707] |
Thu, 25 March 1999 00:00  |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Phil Aldis wrote:
>
> Below this message you will find some code which will see if the bug
> is repeatable on other machines. I've tried on both 5.1.1 and 5.2 on a
> NT PC. They both had the bug. I tried on a solaris workstation running
> 5.1.1 but that crashed because the systme had actually run out of
> memory. The code automatically detects if the bug is in evidence using
> error catching and tells you so. Just try it and post the results,
> I've just contacted RSI as well.
>
> It seems to me to be a very strange bug. I ran the bugtest prog on my
> 64 MB RAM machine with about 300MB of page file space. When the
> program crashed after about 600 loops, I created 2 windows which were
> (10000,1000) pixels big which used about 30-40MB, but no "unable to
> create pixmap". Truly Bizarre!
>
> The problem seems to be if you create windows of the same size, as a
> similar program with random sizes hit against genuine memory problems.
>
> Cheers,
> Phil Aldis
<very nice test procedure snipped>
Phil -
I ran your test routine on a Sparc 2 (Solaris 2.5) using IDL 5.1
and I eventually made it run out of memory, but I could not replicate
your problem.
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|