使用Scala创建Couchbase bucket?

使用Scala创建Couchbase bucket?,scala,couchbase,Scala,Couchbase,我正在尝试使用scala创建一个couchbase bucket。我有以下设置: val cluster: Cluster = CouchbaseCluster.create("127.0.0.1") val bucketSettings: BucketSettings = new DefaultBucketSettings.Builder().`type`(BucketType.COUCHBASE).name("test").quota(100) cluster.clusterManage

我正在尝试使用scala创建一个couchbase bucket。我有以下设置:

val cluster: Cluster = CouchbaseCluster.create("127.0.0.1")

val bucketSettings: BucketSettings = new DefaultBucketSettings.Builder().`type`(BucketType.COUCHBASE).name("test").quota(100)

cluster.clusterManager("Administrator","password").insertBucket(bucketSettings)
但是,当我运行此命令时,会出现以下错误:

com.couchbase.client.core.CouchbaseException: Could not insert bucket: {"errors":{"ramQuotaMB":"RAM quota specified is too large to be provisioned into this cluster."},"summaries":{"ramSummary":{"total":8892973056,"otherBuckets":8892973056,"nodesCount":1,"perNodeMegs":100,"thisAlloc":104857600,"thisUsed":0,"free":-104857600},"hddSummary":{"total":249678528512,"otherData":162290338027,"otherBuckets":705505,"thisUsed":0,"free":87387484980}}}
我不知道如何解决这个问题?我没有其他水桶了。
谢谢

答案就在回答中。您已经分配了所有内存,因此无法创建更多存储桶:
“总计”:8892973056,“其他存储桶”:8892973056

我的couchbase帐户上有8GB内存吗?