Internal Website Search

51-100 of 186 results

How to track memory leak with ObjectDb.

Hello, I suspect some memory leak in my application. ( turning app into OOM very fast ) In fact ... ( with Eclipse MAT ), i was not able to inspect carrefully the memory leak issue ... inside objectdb.MST containing some trace of my entities beans. It seems objectdb keep in memory some

Memory Leak?

Hi, I'm evaluating ObjectDB and certainly new to it. I'm seeing a possible memory leak in ObjectDB or it could be my abusive use of it. Basically I'm adding 1 million objects into ... that I'm using directly that causes ever expanding memory usage. I'm putting my code as a reply

objectdb embedded memory usage ?

    hello , i m making some java application. I will have plan to use that db on java apps but is it possible to use for small embedded apps ? like small android devices or small lightweight java swing clients ?   I donno memory consumptaion increase much or not and initial memory

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting ... You may try decreasing the temporary file threshold . The Doctor will use less memory and more temporary

Crash due to memory problems

can be thrown on any memory allocation that is done when the heap is full). A heap dump may be more helpful

Potential memory leak

In a certain use case in our client application, we noticed a memory leak. I've attached a minimal test project, that demonstrates this behavior. Testcase description: The test consists of one simple entity class (Person) and one embeddable class (AuditData), which is referenced by the entity

Memory leak with OutOfMemoryError exception

Memory leak with OutOfMemoryError exception

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in ... and query execution becomes faster and consumes less memory . Execution of a query as the following using

Inefficient memory usage with very large transactions

When a large transaction is committed, ObjectDB increases some internal structures, i.e. allocates more memory , but from that point the structures remain big and the memory is not released even if all the next transactions are small. This problem was found during a heap analysis (see #9 in

out of memory error

out of memory error

Soft Reference Object Cache Recommendation

on the Memory Tab).  Gigabytes of RAM was freed up, and the screenshot shows what did NOT ... the JdoBlob2 via persistenceManager.deletePersisted(jdoBlob2) then the memory gets freed by the next full GC.  I can also close the PersistenceManager and all the memory then can be freed.  I

virtual servers and one file

switched to memory mapped files, which are usually more efficient. It is unclear ... and what we see in remote sessions. As far as I understand it is not the problem of less memory ... on the size) not completly loadet in memory and the virtualisation software tries to make

Objectdb server out of heap space

of its resources, and so should never end up in a situation where it runs out of memory like this.   ... up in a situation where it runs out of memory like this. Servers that run on Java JVM, such as ... well aware of VM options for tuning memory .  A server process, if it is to be reliable

Duplicatable and Disposable JPA Repository for Unit Testing

Hi Folks, I seek an in- memory JPA implementation which can be easily instantiated, populated ... for ObjectDB? Many thanks, Robin. robinroos Robin Roos Currently ObjectDB does not support pure memory storage, but you can run it on a RAM drive to get the effect of a memory database. It would probably

Caching/Paging Questions...

the results in memory somehow, would that speed up the execution of the second query since many of its result objects already created and reside in memory ? Q2: Do I need to manually use strong ... and keep them in memory longer automatically somehow before GC takes place ? Q3: What is the maximum

Cascading makeTransient

Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields. The situation ... the memory and it represents additional unwanted memory consumption. I tried to solve that via calling pm ... completely transient now. I will check our memory -leak issue in the profiler with our real app later with this build. Thank you very much!  jakab Gergely Jakab

Does ObjectDB create one instance of each entity class on (web app) load ?

is present in memory , at web app startup, before I've loaded anything, and they won't garbage collect ... one instance in memory of class objectd.com.example.Common webel Dr Darren Kelly This is correct ... was surprised to see entities retained in memory . Luckily, although I have a lot of entity

large numbers of records

, but obviously slower than when using a small database that can be cached entirely in memory ... system memory .  Is this size of database file supported in- memory on ObjectDB. We have a server ... supports pure memory database since version 2.6.4. There is no size limit, but it is a new feature, so if you experience issues let us know. support Support

Pre-detach loading: retrieval by navigation not working in if statement

", but apparently not). [EDIT: they are 'loaded into the JVM'  and enhanced into memory .] [EDIT ... Enhancer as a Java Agent, every loaded class is checked and automatically enhanced in memory (if applicable ... the JVM (in memory ) ? webel Dr Darren Kelly I asked: As a result of this [build.xml enhancement task

Empty temporary dat files in the temp folder

a problem on a machine with ‘only’ 2GB free memory on disc drive C:/ because during using our Product ... due to lack of memory . Some information to our scenario: We use one main database file ... mentions high memory usage. Did you mean high RAM usage in addition to these files?    

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

although the flush and the GC were invoked regularly. The attachments show the memory heap dump ... EmbeddedSystems The heap dump shows millions of entity objects in memory ( NormalizedAccessPathImpl ... related to entity objects hold in memory . Please check for GC roots to the entity objects in order

Is it possible to remove parent/child entities without refresh?

to have an updated parent/child object tree in memory . But entityManager.refresh is too slow for our project ... order to understand the problem, could you please explain in which way data in memory is not up to date ... of child elements in memory . After the call entityManger.refresh(parentEntity) the removed childEntity

Database size is much larger than expected (x2)

: Why objectdb cause so many memory that it fails with "-Xmx1432m", even if em.clear() at every 0xFFF ... directions: Commit every 4096 images may cause memory problem if the images are very large - try commit ... Eclipse, the codes need a single javaw, while objectdb needs another one. So the memory problem cause

Delete object from collection versus delete from JPQL

relationship between the objects in memory and ObjectDB.  I know I can modify the objects ... the in- memory objects? There are cases where the JPQL syntax is more expressive than operating ... , and accordingly break the synchronization between memory and database objects. See these manual pages

Ram allocation

Nedim Selmanovic Maybe better question is there any limitations regarding RAM memory ? Regards nedim ... ) is actually the OS RAM limit. See: https://learn.microsoft.com/en-us/windows/win32/ memory / memory -limits

Exceeding max connections and crashing

frequently exceeds heap memory limit, could this cause problems with DB Q3. Is there any command to check ... that it will be reused. Unfortunately Out of memory errors may have severe impact on ObjectDB. You must make sure ... connections are created but not closed. It may also be the result of limited heap size and out of memory

Suspected memleak caused by bad state of EntityManager

can never be released by JVM.There is a chart describes the instances exists in memory . We had checked ... . The connection between the stack trace and the memory consumption is unclear. To demonstrate a memory issue

Listing large number of complicated objects with paging.

Hi, For last few hours I was working on a problem with bad performance and memory problems ... . The interesting part is that running this query needs lots of memory at tomcat side (attached ... database: 600ms Hot database - refresh of the same page: 160ms. Memory usage - no more than 35MB

Deploy ObjectDB in WildFly 10

.jboss.msc.service.fail] MSC000001: Failed to start service jboss.deployment.unit."omd-in- memory -db.jar ... - memory -db.jar".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "omd-in- memory -db.jar"         at org.jboss.as.server.deployment

Performance issue in a query due to internal calls visitRefs and visitKeyRefs

operation before the query is executed. Apparently you have pending changes to the database in the memory . If you can run the query on the database ignoring the pending changes in memory then the query ... memory (before commit) then a flush operation is required before the query can be executed. support

client server mod of communication

- memory mode with client-server mode? Please confirm that this is the question as it is quite far from ... ; Currently you cannot. In- memory mode is only supported in embedded mode. But we will check ... dalei The stack trace indicates using recording , which may not be supported with memory databases. Please try to disable recording . support Support

Tutorial issue

class previously and the database had a memory of it. By starting with a new database that memory

Is 2 level cache in use?

on server uses the same amount of CPU and memory . I'm calling the same url in benchmark ... it up to date and the memory that it consumes. Therefore, it is disabled in the  default configuration

ObjectDB version 2.3 has been released

byte[] by reducing required storage space. Removed a shutdown hook that leads to memory leak ( issue #453 ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed memory leak issues

Database(*.odb) file size on disk

memory always used by new entities? -Will be the database file automatically reduced?   We have created a small test, in which we create and delete entities. It looks like that the released memory

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete. The attachment also contains an update test which has similar memory problems. I'm running

Best practise loading big data

a reference on the retrived entities then we discover that the memory consumption is extremly high, many elements are hold by internal classes of ObjectDB. Garbage collection does not gain enough free memory . We experimented a bit but so far only workarounds helped to gain a lower memory footprint

Use temporary files to enable very large transactions

the first level cache (by flush() and detach()). But an array of bytes, any ObjectDB memory , still allocates a lot of memory . For us it would be very helpful if we can get an evaluation version, in ... on the memory usage. Ideally, even with adjustable threshold. How do you estimate the realizability

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

Hello, we've encountered a problem leading to memory leaks. We found that after closing ... in the application context. This prevents the garbage collector from cleaning up the memory which eventually results in memory leaks. The attached screenshot shows an example of this behaviour. Thanks

stress test -> com.objectdb.o.InternalException: null

the sample. zmirc Mircea Chirac Good/bad news! It seems that Tomee runs out of heap memory ... of memory usage, but using ODB as embedded changes the situation. With a heap of 100 MB, Tomee runs out of memory in ~20 minutes. With a heap of 512 MB, in around 240 min (4 hours). Both cases

each 1-2 days objects on some objectdb level lock/block each other

seems to have a memory leak Sorry to hear. The changes in build 03 were quite minor and were reviewed ... + please have a look at the memory consumption hgzwicker Hans-Georg Zwicker it was not more possible ... on GC what we do not have since startup yesterday evening. also the lower memory consumption

Objects are not garbage collected

/ out of memory error: We import structures called "FormalRequirements" that in turn contain entities called ... (e.g. from a year or two ago) with which the memory is released in this specific case? support ... ; UnitOfWorkContext  holds many entity objects in memory . If this is the case then it doesn't look as

Negative snapshot user count exception

message after eliminating the memory and index issues? support Support Yes, I am continuing ... memory , which I am sure precipitated additional index problems; I resolved the memory configuration

log entry and massive performance issues

to complete - it seams that there is a memory leak (we did not change our application at all but just ... ? What is special with that specific object? You mentioned a memory leak, can you take a heap dump and report ... find critical issues. Additional information is needed such as a heap dump of the memory leak

WeakRef Purge ObjectDb threads not stopping with Tomcat (in application container)

? • When we perform web application reloads on our servers we observe memory leaks.  As the memory allocated to the previous web application instance is not garbage collected ... it. This is very likely to create a memory leak. Stack trace of the non-terminating objectdb thread – "ODB

Server crash - Mismatch client-server protocol prefix

). Other issues I noted in the log were some out-of- memory errors (although I'm running with -Xmx1024m ... after eliminating the memory and index issues? Update: Apparently this exception is the result

ObjectDB 2.5.6

a NullPointerException in query compilation. Fixed a memory leak (Negative snapshot user count) in UPDATE queries on uncommitted changes ( issue #1407 ). Fixed a memory leak in reflection mode (when using

ObjectDB 2.3.0

to memory leak ( issue #453 ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed memory leak issues. Fixed server hang and deadlock issues. Fixed several NullPointerException bugs

ObjectDB 2.6.4

Added memory only database mode. Added an option to cascade detachment to embedded objects . Added an option to disable reuse of database page objects . Improved release of query resources. Improved memory management in multi flush transactions. Extended detachment of embedded objects

GC overhead limit exceeded

I had some memory problems with a process running over the weekend and received the following exceptions in the objectdb log: 1) [ObjectDB 2.3.2_04] Unexpected exception (Error 990) Generated by ... . felixobjectdb Richard Szurgot This could happen as a result of heavy memory usage. Read about a configuration