hello,

It's my first time to touch libev, though I think I've missed some points, I 
failed to find answer by google, can someone help to clarify whether it's a 
memory leak or something wrong with the code? Thanks!


The issue is that the following snippets keep increasing memory usage on debian 
linux 6.0/i386, both with libev 4.04 and 4.11:
-----------------------------------------------------------
  while (1)
  {
    struct timespec slp;
    slp.tv_sec = 0;
    slp.tv_nsec = 10*1e6;


    struct ev_loop *evp = ev_loop_new( 0 );
    ev_loop_destroy( evp );
    nanosleep( &slp, NULL );
  }
-----------------------------------------------------------



_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to