itm / testbed-runtime

WISEBED Wireless Sensor Network Testbed Infrastructure Software
https://github.com/itm/testbed-runtime/wiki
15 stars 11 forks source link

Memory leak: ReservationManager does not clean up cache #379

Closed danbim closed 10 years ago

danbim commented 10 years ago

@TobiasMende is this still true or can we close the issue?

TobiasMende commented 10 years ago

The normal cache (key to reservation) is cleaned as expected and the clean-method for the nodeurn-to-reservation cache is called every minute, but I've not tested this method yet.

danbim commented 10 years ago

TODO: add unit tests for Optional<Reservation> getReservation(NodeUrn nodeUrn, DateTime timestamp); to check if method returns correctly if reservations: