啟動Amoeba報The stack size specified is too small解決方法
參考文件:http://my.oschina.net/u/1169079/blog/390726
啟動Amoeba。
[root@chenllcentos ~]# /usr/local/amoeba-mysql-3.0.5-RC/bin/launcher
但是提示出現fatal exception:
The stack size specified is too small, Specify at least 228k Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
從錯誤文字上看,應該是由於stack size太小,導致JVM啟動失敗,要如何修改呢?
其實Amoeba已經考慮到這個問題,並將JVM引數配置寫在屬性檔案裡。現在,讓我們透過該屬性檔案修改JVM引數。
修改jvm.properties檔案JVM_OPTIONS引數。
[root@chenllcentos ~]# vi /usr/local/amoeba-mysql-3.0.5-RC/jvm.properties
將內容:
JVM_OPTIONS="-server -Xms256m -Xmx1024m -Xss196k -XX:PermSize=16m -XX:MaxPermSize=96m"
替換為:
JVM_OPTIONS="-server -Xms1024m -Xmx1024m -Xss256k -XX:PermSize=16m -XX:MaxPermSize=96m"
再次啟動Amoeba。
[root@chenllcentos ~]# /usr/local/amoeba-mysql-3.0.5-RC/bin/launcher
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28916011/viewspace-1648778/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Mysql 報Row size too large 65535解決方法MySql
- ORA-00838: Specified value of MEMORY_TARGET is too small
- mysql specified key was too long與Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- No input file specified 解決方法
- Row size too large (> 8126)解決辦法
- DEVICE DRAW VERTEX BUFFER TOO SMALLdev
- JDeveloper啟動時老是報錯-解決方法Developer
- 解決 Specified key was too long ... 767 bytes 的本質問題
- 【轉】RAC安裝時,報The specified nodes are not clusterable 的解決方法
- no input file specified 三種解決方法
- ProTable 報錯Uncaught RangeError: Maximum call stack size exceededError
- MySQL資料庫index column size too large. the maximum column size is 767 bytes問題解決MySql資料庫Index
- mysql Index column size too large 超過767錯誤解決方案(轉)MySqlIndex
- 【解決方法】Dubbo報錯Data length too large,調整payload大小解決
- ORA-01555: snapshot too old: rollback segment number with name "" too small
- Tomcat啟動報錯:Error starting static Resources解決方法TomcatError
- dbsnmp啟動失敗解決方法
- No input file specified 出現的原因及解決方法
- zabbix-server啟動報錯解決Server
- owb修改主機名和IP地址啟動報錯解決方法
- Index column size too large. The maximum column size is 767 bytesIndex
- 轉:AIX中The largest dump device is too small的處理AIdev
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- tomcat啟動超時以及啟動之後開啟網頁報404錯誤的解決方法Tomcat網頁
- 執行遷移檔案報錯 1071 Specified key was too long.
- 解決在使用Amoeba遇到的問題
- JBoss部署啟動後報錯“Apparently wrong driver class specified for URL”APP
- oracle 10.2.0.3 dbca建庫報Failed to retrieve size of raw device 問題解決方法OracleAIdev
- MySQL 啟動服務報錯解決方案MySql
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- angularjs2啟動專案報ERROR in AppModule is not an NgModule解決方法AngularJSErrorAPP
- Laravel 5.4 常見錯誤:Specified key was too longLaravel
- Index column size too large. The maximum column size is 767 bytes.Index
- MongDB 啟動警告 ”WARNING: soft rlimits too low.“問題解決一例MIT
- 解決 Too many symbol filesSymbol
- ora-00054:resource busy and acquire with nowait specified解決方法UIAI
- mysql(mariadb)啟動失敗解決方法MySql
- ubuntu網路卡啟動錯誤解決方法Ubuntu