|
|
||
|
Zachary P. Landau escribió:
On 4/29/07, Roger D Vargas <luo_hei@yahoo.es> wrote:
No, it is a linux box with 256 Mb and usual services for a workstation. The code runs inside a loop executed probably 100 times per second.Is this on some low-memory device? I wonder if it is possible that you are allocating memory faster than the garbage collector can reclaim it. Although I wouldn't expect "a=math.random(1,20)" and "math.random(1,20)" to be significantly different as far as memory allocation is concerned.
-- http://dsgp.blogspot.com | Linux, programación, juegos Have no place I can be since I found Serenity But you can’t take the sky from me______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com