separate memory setting for sampler
fix in-memory jdbc connection string