Update of /cvsroot/monetdb/pathfinder/compiler/mem
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20686/pathfinder/compiler/mem

Modified Files:
      Tag: XQuery_0-22
        array.c 
Log Message:

[post release-tag check-in (approved by Stefan ;-))]

Attempt to cure the symptoms of
[ 1892560 ] PF: "insufficient memory" while compiling XMark module
https://sourceforge.net/tracker/index.php?func=detail&aid=1892560&group_id=56967&atid=482468

as suggested by Jan:
reduce the default (inital) size of (dynamic) arrays
from 2048 byte to 256 byte

(This is meant for the release branch, only;
 propagation will be prevented.)


Index: array.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mem/array.c,v
retrieving revision 1.24
retrieving revision 1.24.6.1
diff -u -d -r1.24 -r1.24.6.1
--- array.c     11 Jan 2008 10:47:09 -0000      1.24
+++ array.c     13 Feb 2008 20:58:22 -0000      1.24.6.1
@@ -73,7 +73,7 @@
  * size (in bytes) allocated whenever a fresh array is allocated or
  * an out-of-bounds index has been accessed 
  */
-#define ACHUNK 2048U
+#define ACHUNK 256U
 
 /**
  * Create a fresh dynamic array, prepared to hold elements of byte size


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to