comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Catching memory shortage with WINDOW,/FREE,/PIXMAP
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Catching memory shortage with WINDOW,/FREE,/PIXMAP [message #5373] Thu, 30 November 1995 00:00
gga is currently offline  gga
Messages: 2
Registered: March 1994
Junior Member
Under SunOS 4.1.2 (sun4c) using idl 3.6.1a the idl session is abruptly terminated
when you attempt to do (example):

WINDOW,/FREE,/PIXMAP,xsize=1000,ysize=1000

and you have not enough memory to allocate the pixmap.

You get the message:

> % WINDOW: Unable to create X windows pixmap
> (BadAlloc).


What is the most efficient method to catch this situation within your procedure?


Thanks for helps,

--
Gianmario

+-----------------------------------+----------------------- ------------+
| Gianmario Galli | Internet: gga@otl.sma.ch |
| Osservatorio Ticinese | voice: +41 (91) 7526-315 |
| Istituto Svizzero di Meteorologia | fax: +41 (91) 7526-310 |
| Via ai Monti della Trinita` 146 | |
| CH-6605 LOCARNO-MONTI | |
+-----------------------------------+----------------------- ------------+
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Survey Comments
Next Topic: Multiple plots and axis labeling

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:01:28 PDT 2025

Total time taken to generate the page: 0.00581 seconds