上传的应用程序大小和分配给运行时的GB是否有已知限制? [英] Is there any known limit for the size of an app uploaded and for the GBs assigned to a runtime?

查看:81
本文介绍了上传的应用程序大小和分配给运行时的GB是否有已知限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求部署一个700MB(单个EAR文件)的Java EE应用程序,该应用程序需要8 GB的RAM才能执行。

I was asked to deploy a Java EE application of 700MB (single EAR file) which requires 8 GB of RAM to execute.

我搜索了文档,但我没有找不到这两个参数的任何记录限制:大小和RAM。任何网址或想法?谢谢!

I searched the docs but I didn't found any documented limit for those two parameters: size and RAM. Any URL or idea? Thanks!

推荐答案

应用程序的大小限制为1GB,如所述此处

The size of the application is limited to 1GB as mentioned here.

内存分配仅限于每个应用程序有8GB的空间,当您尝试在Bluemix UI中分配超过8GB的空间时,您会看到此消息,因为它要么重置为8GB,要么使用该切换不允许您超过8GB。

The Memory allocation is limited to 8GB per app, you can see this when you try to allocate more than 8GB in the Bluemix UI as it either resets to 8GB or if, using the toggle, doesn't allow you above 8GB.

如果您的应用正在推动这些限制,那么您可能希望根据 12factor 应用程序方法,因此,与一个大型的整体应用程序相比,您拥有更小,更灵活的应用程序。

If you app is pushing these limits then you might want to look at refactoring this app as per the 12factor app approach, so rather than one large monolithic app you have smaller more flexible apps.

正如@ ram-vennam所说,在推送大型应用程序时也有可能出现超时。

As @ram-vennam said there is also the potential for staging timeouts when pushing a large app.

这篇关于上传的应用程序大小和分配给运行时的GB是否有已知限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆