Yes, for arrays with the "wrong" size the 
virtual memory used can be up to 2 times the
theoretical minimum.  There are no plans to 
change this behaviour.



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Monday, February 5, 2007 7:40 am
Subject: [Jgeneral] large space overhead

> When I use image3 addon to read a large jpeg, it raise a memory 
> limit error, (I 
> lower the memory limit to avoid swap). So I use 7!:5 to measure 
> the space in 
> bytes used by the named objects,
> 
>    B=: 100 200 3$2
>    7!:5 <'B'
> 262144
>    */4 100 200 3
> 240000
>    B=: 1000 2000 3$2
>    7!:5 <'B'
> 33554432
>    */4 1000 2000 3
> 24000000
>    B=: 2848 4288 3$2
>    7!:5 <'B'
> 268435456
>    */4 2848 4288 3
> 146546688
> 
> It requires nearly double amount of space for large object. Can 
> this be improved?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to