Memory Consumption increases gradually for each load


#1

Hi,
I am using orientdb 3.0.14 in a separate server with ssd environment and 16gb ram.When loading the database for each and every load the ram usage and buffer memory increases gradually.RAM and Buffer memory is not released even after performing all the operations.At a point no space is left on the ram which forces us to restart the db.After restarting,the ram usage becomes normal whereas buffer memory usage is still the same.we are using 4gb as buffer size and 8gb as heap memory.Please suggest any solutions for this issue.

Regards,
Harish


#2

Hi @Harish

how are you doing the loading? Which API? Embedded or remote?

Thanks

Luigi


#3

Hi @luigidellaquila
I am doing a non-transactional commit with remote database.My connection is as follows

	OrientGraphNoTx orientGraph = null;
	OrientGraphFactory factory = null;				
    factory = new OrientGraphFactory(String.join("/", orientdbip, orientdbname), orientdbuser, orientdbpwd).setupPool(1, 10);
	factory.setRequireTransaction(false);
	factory.declareIntent(new OIntentMassiveInsert());
	orientGraph = factory.getNoTx();

#4

Hi @Harish

Please try to remove the MassiveInsert intent, that could be the reason for the memory consumption.

Thanks

Luigi


#5

Hi @luigidellaquila
I have a bulk data to load without MassiveInsert intent is that possible to load data quickly?

Regards,
Harish