Revision: 57311
          http://sourceforge.net/p/brlcad/code/57311
Author:   brlcad
Date:     2013-08-30 07:57:19 +0000 (Fri, 30 Aug 2013)
Log Message:
-----------
go even a little more conservative with the page sizes as we get started since 
more testing is needed with the bu_malloc implementation change 
(posix_memalign()+memset() means pages are actually REAL and written to.  this 
makes the pages just 65k.

Modified Paths:
--------------
    brlcad/trunk/src/libbu/heap.c

Modified: brlcad/trunk/src/libbu/heap.c
===================================================================
--- brlcad/trunk/src/libbu/heap.c       2013-08-30 07:37:39 UTC (rev 57310)
+++ brlcad/trunk/src/libbu/heap.c       2013-08-30 07:57:19 UTC (rev 57311)
@@ -37,7 +37,7 @@
  * Embedded or memory-constrained environments probably want to set
  * this a lot smaller than the default.
  */
-#define HEAP_BINS 1024
+#define HEAP_BINS 256
 
 /**
  * This specifies how much memory we should preallocate for each
@@ -50,7 +50,7 @@
  * Embedded or memory-constrained environments probably want to set
  * this a lot smaller than the default.
  */
-#define HEAP_PAGESIZE (HEAP_BINS * 1024)
+#define HEAP_PAGESIZE (HEAP_BINS * 256)
 
 
 struct heap {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to