Index: trunk/psLib/test/sysUtils/tst_psMemory.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psMemory.c	(revision 721)
+++ trunk/psLib/test/sysUtils/tst_psMemory.c	(revision 722)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-05-18 23:35:25 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-05-19 00:09:25 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -57,4 +57,5 @@
 {
     psSetLogLevel(PS_LOG_INFO);
+
     if (! runTestSuite(stderr,"psMemory",tests)) {
         psAbort(__FILE__,"One or more tests failed");
@@ -173,8 +174,8 @@
     cb = psMemExhaustedCallbackSet(TPOutOfMemoryExhaustedCallback);
 
-    mem1 = (int*) psAlloc(UINT_MAX);
-    mem2 = (int*) psAlloc(UINT_MAX);
-    mem3 = (int*) psAlloc(UINT_MAX);
-    mem4 = (int*) psAlloc(UINT_MAX);
+    mem1 = (int*) psAlloc(LONG_MAX/2);
+    mem2 = (int*) psAlloc(LONG_MAX/2);
+    mem3 = (int*) psAlloc(LONG_MAX/2);
+    mem4 = (int*) psAlloc(LONG_MAX/2);
 
     psMemExhaustedCallbackSet(cb);
