Hi, Sunil, Looks like the memory is not freed somewhere. The warning messages you included all point to this problem. This could happen in a a few different ways,
- neglecting to destroy the query objects (by calling destroy_query) - memory leak in the JNI code - memory leak in the C API - memory leak in the C++ code (the core of FastBit) I would encourage you to destroy the query objects as soon as possible in your program. The C API layer and the JNI code are not exercised nearly as much as the C++ code, so it is very possible that they contain some problems. I am willing to look into this, but would need some help from you. More specifically, I would need a small test case in java along with some test data. You can email them to me or put them in a place for me to pick them up. Thanks. John On 10/25/12 3:11 PM, sunil kalva wrote: > Hi > i get segmentation fault error, if i run queries from multiple threads > using java API. and if restart it works for me for few queries and > again i face same problem. > > and i also following errors very frequently ...! > > Warning -- fileManager::storage::ctor unable to find 28 bytes of space > in memory > > Warning -- part::init failed to read mask file > "/data/test/fastbit/2012-10-16-00/fastbit/-part.msk", assume all rows > (32394899) are active > > com.globalpark.fastbit.exception.FastbitPartitionException: > storage::ctor(memory) failed > > > Warning -- part[fastbit]::gainWriteAccess -- > pthread_rwlock_trywrlock(0x102260020) for freeRIDs returned 16 > (Resource busy) > > Warning -- part[fastbit]::gainWriteAccess -- > pthread_rwlock_trywrlock(0x102260020) for freeRIDs returned 16 > (Resource busy) > > Warning -- fileManager::softWriteLock failed to acquire the write lock > (0x10dd47fc0) for fileManager::clear, error code = 16 > > > t > SunilKalva > > > _______________________________________________ > FastBit-users mailing list > [email protected] > https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users > _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
