Big Memory leak with division operator ?
- Posted by Domingo Alvarez Duarte <domingo at dad-it.com> Jun 19, 2007
- 587 views
I've just started with euphoria and testing EUSQLite with it's script that insert 100000 rows in the bench database, I discovered that euphoria leaks a lot of memory when computing "(100.0*rand(RAND_MAX)/(RAND_MAX+1.0))" inside the insertion loop, actually it ends with more than 20MB of shared memory, when changing that code with "(100.0*6)" the leak almost disappear. The script is sqlite_insert.exw, I'm testing it with XUbuntu 7.04 ! I'll appreciate if someone can solve that, thanks !