This settings allows you to set how many recursive operations (like storing a new complex object graph) are executed on the stack. When you have a small stack size you can use a small value below 10. The default is 20.
EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration(); configuration.common().maxStackDepth(16);