Cloud Free - "No space left on device" ; when trying to delete triples in database

Hello,

I’m using Stardog Cloud Free and I encountered the following error when attempting to clean a database:

com.complexible.stardog.StardogException: No space left on device
java.io.IOException: No space left on device

I suspect I’ve exceeded the 1M-triples quota. I have a script ready to clean up unnecessary triples, but I currently can’t proceed because I cannot query, delete or modify the database.

Could someone please advise whether the quota can be temporarily increased or if there is another way to safely clean up without losing the graph data ?

Thanks in advance !

Can you post the script you are using? That might help figure out the problem.

I haven't used the free cloud version of Stardog in a while but I think there may be a way to save your graph as a Turtle file. If that is possible you might try that and just look at the file in Notepad++ and manually delete some triples. That's not ideal, I usually try to always use some tool but in a few unusual cases the only way to edit the file is using some simple text editor like Notepad++. I like that tool for such occasions because 1) it balances parentheses and brackets which makes it a bit easier to be sure you don't create a file that can't be read and 2) Even some simple text editors do things that can mess up your file. I tried some basic text editor on a Mac once and by default it replaced regular quotes with "smart quotes" which made the file unusable and really hard to debug because the "smart" quotes were very difficult to discern from normal quotes.

Cheers,
Michael

Hi Michael,

Thanks for your suggestions. The issue is that I currently can’t interact with my database at all — I get the “No space left on device“ error even when I try to download the file.

I can’t provide you the script, but I can provide a URL that can be called via GET if needed (this will basically clear triples triples that are considered as “Too old”).

Best regards,
Nicolas

Hi Nicolas, I am looking into this issue, and I will post an update when I have more info for you.

Hi Nicolas, please try again.