lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Zachary P. Landau escribió:
On 4/29/07, Roger D Vargas <> wrote:

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.

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.

-- | 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.