Forster, Robert wrote:
>
> Alexander:
>
>  
>
> The change to defined(DARWIN) didn’t work because the rest of the code 
> doesn’t work with Os X. It won’t compile.
>
>  
>
> /* Returns the physical memory size in k available for one process */
> GB_ULONG GB_get_physical_memory(void){
> #if defined(SUN5) || defined(LINUX)
> long pagesize = sysconf(_SC_PAGESIZE);
> long pages = sysconf(_SC_PHYS_PAGES);
> ulong memsize = (pagesize/1024) * pages;
> ulong nettomemsize = memsize - 10240; /* reduce by 10Mb (for kernel
> etc.) */
>
>  
>
> _/SC_PHYS/_PAGES seems to be a problem.
>
>  
>
> I changed the hardcoded memory default to 2*1024*1024, rebuilt, 
> reinstalled and was able to get a medium sized database built and 
> loaded. A larger, new database failed on loading. This was using a 4 
> Gb MacBook Pro as well as a 8GB MacPro. 
>
>  
>
> As it stands ARB won’t work with the new larger SILVA databases. I 
> can’t see adding a patch that would be machine memory specific, but 
> perhaps the default memory should be adjusted to 1024*1024 in the 
> distribution.
>
>  
>
> Thanks, Bob
>
>  
>
<snip>

That sounds like a good plan for the near term.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to