我有一个jhipster monolith app,有一个小域模型,我基本上生成了所有内容,但没有编写太多代码。但是在我的heroku日志中,我得到了:
Process running mem=515M(100.7%)
在打电话给第一个网址后。
这些是我的jvm指标:
Total memory (290M / 307M)
94%
Heap memory (124M / 307M)
40%
Non-Heap memory (165M / 168M)
98%
即使没有拨打网址,我也不会失败。我对java中的内存调试不是很熟悉,所以欢迎任何帮助。 我不认为增加内存是一个很好的解决方案。
我的yo-rc.json:
{
"generator-jhipster": {
"promptValues": {
"packageName": "de.tz.dudel",
"nativeLanguage": "de"
},
"jhipsterVersion": "4.7.0",
"baseName": "dudel",
"packageName": "de.tz.dudel",
"packageFolder": "de/tz/dudel",
"serverPort": "8080",
"authenticationType": "jwt",
"hibernateCache": "ehcache",
"clusteredHttpSession": false,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "mysql",
"prodDatabaseType": "mysql",
"serviceDiscoveryType": false,
"searchEngine": false,
"messageBroker": false,
"buildTool": "gradle",
"enableSocialSignIn": true,
"enableSwaggerCodegen": false,
"jwtSecretKey": "0d6598cbaf6cc68d9b96161707b17b7af086128d",
"clientFramework": "angularX",
"useSass": true,
"clientPackageManager": "yarn",
"applicationType": "monolith",
"testFrameworks": [
"cucumber",
"protractor"
],
"jhiPrefix": "jhi",
"otherModules": [
{
"name": "generator-jhipster-bootstrap-material-design",
"version": "3.5.1"
},
{
"name": "generator-jhipster-ci",
"version": "1.0.0"
}
],
"enableTranslation": true,
"nativeLanguage": "de",
"languages": [
"de"
],
"herokuAppName": "dudel"
}
}