asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Carey <mjca...@ics.uci.edu>
Subject Fwd: Issue 910 in asterixdb: Index creation/use can cause resource leakage
Date Wed, 22 Jul 2015 07:10:10 GMT
Definitely a high priority bug - we should try to fix this pre-release!


-------- Forwarded Message --------
Subject: 	Issue 910 in asterixdb: Index creation/use can cause resource 
leakage
Date: 	Wed, 22 Jul 2015 03:13:59 +0000
From: 	asterixdb@googlecode.com
Reply-To: 	asterixdb-dev@googlegroups.com
To: 	asterixdb-dev@googlegroups.com



Status: Accepted
Owner: ima...@uci.edu
CC: buyingyi@gmail.com
Labels: Type-Defect Priority-High

New issue 910 by ima...@uci.edu: Index creation/use can cause resource
leakage
https://code.google.com/p/asterixdb/issues/detail?id=910

In IndexDataflowHelper, calling create() will make an index instance, and
create it. This inserts an entry into the IndexLifecycleManager's resource
map. Entries in this map are only freed once unregister() is called on an
index. However this only happens when an index is destroyed, not when it is
closed. There is no other way in which references to indexes are garbage
collected (even though there is a reference counter in the IndexInfo).
Therefore creating or using an index uses resources in this map even if
they are not active, and were created during the lifetime of the NC- and
there is no way to free that memory.

-- 
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

-- 
You received this message because you are subscribed to the Google Groups "asterixdb-dev"
group.
To unsubscribe from this group and stop receiving emails from it, send an email to asterixdb-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message