Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Emulator error: Error performing operation on store. Store capacity exceeded
Emulator error: Error performing operation on store. Store capacity exceeded [message #1749696] Fri, 09 December 2016 19:51 Go to next message
zhen nan is currently offline zhen nanFriend
Messages: 6
Registered: July 2013
Junior Member
Every time when I start Kura emulator in Eclipse, I get following error:
org.eclipse.kura.KuraStoreCapacityReachedException: "Error performing operation on store. Store capacity exceeded"
at org.eclipse.kura.core.data.store.DbDataStore.store(DbDataStore.java:256)
at org.eclipse.kura.core.data.DataServiceImpl.publish(DataServiceImpl.java:449)
at org.eclipse.kura.core.cloud.CloudClientImpl.publish(CloudClientImpl.java:114)
at org.eclipse.kura.example.publisher.ExamplePublisher.doPublish(ExamplePublisher.java:300)
at org.eclipse.kura.example.publisher.ExamplePublisher.access$0(ExamplePublisher.java:256)
at org.eclipse.kura.example.publisher.ExamplePublisher$1.run(ExamplePublisher.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

I know the store.capacity field under DataService tab control the maximum number of messages persisted in the Data Store, I don't want to increase that number because sooner or later the new capacity will be exceeded again. Is there a way to empty the data in the Data Sore?

[Updated on: Fri, 09 December 2016 20:04]

Report message to a moderator

Re: Emulator error: Error performing operation on store. Store capacity exceeded [message #1749710 is a reply to message #1749696] Fri, 09 December 2016 22:31 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

The data store is intended to be a buffer for messages during periods without cloud connectivity. Once connectivity returns, the data store should begin sending messages until it is empty. Does your use case intend to experience long durations of non-connectivity?

Thanks,
--Dave
Previous Topic:unable to create new native thread as non-root user
Next Topic:Greenhouse tutorial
Goto Forum:
  


Current Time: Fri Apr 26 09:46:35 GMT 2024

Powered by FUDForum. Page generated in 0.03479 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top