Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Full space?

I'm writing 400000 *7 entries (yes, 280000 entries) into a space, and about one quarter of the way through, performance of the writes drops like a stone. This is a bit of a concern. How do I diagnose what's happening? How can I address it?

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2009-02-05 11:24:09 -0600

jottinger gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Configure the space to run with EDS + LRU cache policy mode. U can use H2 comes with the product (as the default EDS) or your DB. U can use the default mapping or Hibernate EDS.

Shay

answered 2009-02-05 11:40:19 -0600

shay hassidim gravatar image
edit flag offensive delete link more
0

Ah, I see from the client stacktrace: memory exhaustion. What are the best ways to address this? I have plenty of ram in the machine in question, although I'd prefer to be able to offload things to disk instead of storing everything in RAM....

answered 2009-02-05 11:28:57 -0600

jottinger gravatar image
edit flag offensive delete link more

Comments

You realise that the docs for that in 6.6 are really sketchy... :)

jottinger gravatar imagejottinger ( 2009-02-05 13:03:16 -0600 )edit

This is what you need to have sync persistency with LRU and Hibernate EDS : <os-core:space id="space" url="/./space" schema="persistent" external-data-source="hibernateDataSource"> <os-core:properties> <props> <prop key="space-config.engine.cache_policy">0</prop> <prop key="cluster-config.cache-loader.external-data-source">true</prop> <prop key="cluster-config.cache-loader.central-data-source">true</prop> </props> </os-core:properties> </os-core:space>

Shay

shay hassidim gravatar imageshay hassidim ( 2009-02-05 14:15:54 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-02-05 11:24:09 -0600

Seen: 19 times

Last updated: Feb 05 '09