Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Memcached Server 1.0.3

Is there a way to limit memory size?

7 replies [Last post]
  • Login or register to post comments
Fri, 06/11/2010 - 13:11
rally25rs
Offline
Joined: 06/11/2010
Groups: None

Is there a way to set the memory size limit in Membase? This would be the "-m" command line option to memcached. Thanks for any help!

Top
Fri, 06/11/2010 - 14:16
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

You can set the size limit through the UI by creating a bucket. If you need to change the size of a bucket, right now you'll need to delete it and recreate at a new size.

Does that make sense?

Let me know if you need any further assistance.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Fri, 06/11/2010 - 20:08
slegay
Offline
Joined: 06/11/2010
Groups: None

I have a NorthScale cluster with 2 servers. I have 1 bucket running, limited to 256 MB. However, the memcache.exe process is using all memory available, about 700+ MB on each machine. Is this to be expected? Is there a way to limit how much memory NorthScale should be able to use? I have other applications running on those instances, I'm concerned about performance.

thanks!

Top
Sat, 06/12/2010 - 00:47
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Hmm, that does sound a bit odd. Can you send me the stats output for both servers? Just telnet to the server on port 11211 and type 'stats'

Thanks!

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Sat, 06/12/2010 - 10:54
slegay
Offline
Joined: 06/11/2010
Groups: None

Actually, I think it had to do with a config problem (multiple IPs + older memcached instances running on that server). Things seem to be running well now.

Thanks

Top
Tue, 06/15/2010 - 05:24
rally25rs
Offline
Joined: 06/11/2010
Groups: None

Perry, thanks for the info. I was using the default bucket which was pre-sized at 64MB, so I hadn't noticed that it lets you pick a size when you make a new bucket. It would be a nice enhancement if there was a "resize" function in the bucket maintenance screen, that would delete and re-create the bucket with a different size, and prompting the user that the cache will be flushed. That might save some confusion for future users.

Thanks again!

-Jeff

Top
Tue, 06/15/2010 - 10:13
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Thanks for the input Jeff, I've filed an enhancement request to make this a bit easier to understand.

Take care

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
Thu, 09/23/2010 - 10:21
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Jeff, the new version (beta 4) allows you to edit the size of a bucket.

Thanks for your feedback!

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker