-
(翻译)What are the -Xms and -Xmx parameters
2019-07-02 19:09:42https://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvm ...这个问题已经存在 How is the default Java heap size determined? 9个回答 请解释在Jav...https://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvm
【问题】
启动JVM时-Xms和-Xmx参数是什么?【描述】
这个问题已经存在 How is the default Java heap size determined? 9个回答
请解释在Java虚拟机中参数
Xms
和Xmx
的用法。它们的默认值是什么?【回答1】
标志Xmx
指定Java虚拟机(JVM)的最大内存分配池,而Xms
指定初始内存分配池。这意味着您的JVM将以
Xms
的内存量启动,并且能够使用最大Xmx
内存量。例如,启动如下配置的虚拟机将分配256 MB的内存,并允许进程使用最多2084 MB的内存。java -Xms256m -Xmx2048m
内存标志也可以指定不同的大小,例如千字节,兆字节等。
-Xmx1024k -Xmx512m -Xmx8g
Xms
标志没有默认值,Xmx
的默认值通常为256 MB。这些标识通常使用在当你遇到java.lang.OutOfMemoryError
的时候。使用这些设置时,请记住这些设置是针对JVM的堆的,JVM 能够(将)使用比分配给堆内存更多的内存。来自Oracle’s documentation:
请注意,JVM使用的内存多于堆。例如,Java方法,线程栈和本地句柄,以及JVM内部数据结构分配在与堆不同的内存中。
【回答2】
运行命令java -X,您将获得所有-X选项的列表:C:\Users\Admin>java -X -Xmixed 混合模式执行(默认) -Xint 仅解释模式执行 -Xbootclasspath:<目录和zip / jar文件分隔;> 设置引导类和资源的搜索路径 -Xbootclasspath/a:<目录和zip / jar文件分隔;> 追加到引导类路径的末尾 -Xbootclasspath/p:<目录和zip / jar文件分隔;> 从引导类前面添加路径 -Xdiag 显示其他诊断消息 -Xnoclassgc 禁用类垃圾回收 -Xincgc 启用增量垃圾收集 -Xloggc:<file> 将GC状态记录到带有时间戳的文件中 -Xbatch 禁用后台编译 -Xms<size> 设置Java堆初始容量........................ -Xmx<size> 设置Java堆的最大容量...................... -Xss<size> 设置Java线程栈的容量 -Xprof 输出cpu分析数据 -Xrs 减少Java / VM对OS信号的使用(参见文档) -Xcheck:jni 对JNI函数执行附加检查 -Xshare:off 不尝试使用共享类数据 -Xshare:auto 尽可能使用共享类数据(默认) -Xshare:on 要求使用共享类数据,否则失败。 -XshowSettings 显示所有设置并继续 -XshowSettings:all 显示所有设置并继续 -XshowSettings:vm 显示所有vm相关设置并继续 -XshowSettings:properties 显示所有属性设置并继续 -XshowSettings:locale 显示所有与区域设置相关的设置并继续
-X选项是非标准的,如有更改,恕不另行通知。
我希望这能帮助你理解Xms
,Xmx
,以及更多的配置项。 -
翻译mos文章oracle 单个数据文件的最大限制
2016-04-14 10:56:59单个数据文件的最大限制 ...What is the Maximum Datafile Size Limit In an Oracle Database? (文档 ID 804733.1) 直接不要翻译了,这个文档适用于10.2.0.1到11.2.0.4 Maximum datafile size for a单个数据文件的最大限制
What is the Maximum Datafile Size Limit In an Oracle Database? (文档 ID 804733.1)
直接不要翻译了,这个文档适用于10.2.0.1到11.2.0.4
Maximum datafile size for a SmallFile Tablespace based on 10gR2 documentation would be:
Block Size Maximum Datafile File Size
----------- ---------------------------
2k 4194303 * 2k = 8 GB
4k 4194303 * 4k = 16 GB
8k 4194303 * 8k = 32 GB
16k 4194303 * 16k = 64 GB
32k 4194303 * 32k = 128 GB
Maximum datafile size for a BigFile Tablespace based on 10gR2 documentation would be:
Block Size Maximum Datafile File Size
----------- ---------------------------
2k 4294967295 * 2k = 8 TB
4k 4294967295 * 4k = 16 TB
8k 4294967295 * 8k = 32 TB
16k 4294967295 * 16k = 64 TB
32k 4294967295 * 32k = 128 TB -
Translation: What Is a Service Mesh?
2020-12-08 20:42:24如 categories、kind、size、tag、status </li><li> [x] 所有代码片段都指定了代码语言 </li><li> [x] 翻译的文章添加了编者按</strong></p> </li><li> [x] 文章标题简短且语义明确 </li><li> [x] 文章语句通顺ÿ... -
RESTful初探之一(What is REST)
2012-04-11 11:32:27[size=large]英文tutorial guide [url]http://www.ibm.com/developerworks/java/tutorials/j-rest/[/url] 也是以下翻译的原文链接 RESTfull==REpresentation State Transfer没有好的中文翻译。 RESTfull是一...[size=large]英文tutorial guide
[url]http://www.ibm.com/developerworks/java/tutorials/j-rest/[/url]
也是以下翻译的原文链接
RESTfull==REpresentation State Transfer没有好的中文翻译。
RESTfull是一组架构约束条件和原则。满足这些约束条件和原则的应用程序或设计就是 RESTful。
[color=red]首先先得明白有状态和无状态。RPC框架中视图层是有状态的。
Web 应用程序最重要的 REST 原则是,客户端和服务器之间的交互在请求之间是无状态的。无状态意味着可随意分布式[/color]
REST 是一种依靠命名资源的低耦合web应用设计风格——in the form of Uniform Resource Locators(URLs),Uniform Resource Identifiers(URIs),and Uniform Resource Names,for instance——rather than messages.
以统一资源定位,统一资源标示,统一资源命名的形式实现,而不是动态的信息
REST leverages aspects of the HTTP protocol such as GET and POST request.
REST利用对HTTP协议如GET何Post请求的aspect
RESTfull真正veritable father在他的dissertation中说的:"
emphasizes scalability of component interactions, generality of interfaces,independent deployment of components,and intermediary components to reduce interaction latency,enforce security,and encapsulate legacy systems"
着重于组件交互的可扩展性,通用接口,独立部署组件和利用中间组件去减少交互延迟,强制安全性和封装遗留系统。
Everything on the Web(pages,images,and so on)is in essence a resource.REST's reliance on named resources rather than messages facilitates loose coupling in application design,because it limits the exposure of the underlying technology.For instance,the folowing URL exposes a resource without implying anything about the underlying technology:http://thediscoblog.com/2008/03/20/unambiguously-analyzing-metrics/
web(pages,images,and so on)本质上就是资源。REST 依赖命名的资源而不是报文,从而降低应用设计的耦合度。因为他限制底层技术的暴露。
this URL represents a resource —— an article called "Unambiguously analyzing metrics".A request for this resource leverages the HTTP GET command.Notice that
the URL is noun-based. A verb-based version(which might look something like http://thediscoblog.com/2008/03/20/[color=red]getArticle[/color]?name=unambiguously-analyzing-metrics)would violate REST principles,because it embeds a message.in the form of getArticle.You could also imagine posting a new resouce(say, an article resource such as http://thediscoblog.com/2008/03/22/rest-is-good-for-you/)via HTTP's POST command.Although you can also imagine associated,verb-based APIs——such as createArticle?name=rest-is-good-for-you and deleteArticle?name=rest-is-good-for-you — such calls hijack the HTTP GET command and,for the most part,ignore the already available(and successful)HTTP infrastructure.In other words,they are not RESTful.
URL代表了一个资源,一篇名叫"Unambiguously analyzing metrics"的文章。注意这个请求是基于名词的,如果是基于动词的(如http://thediscoblog.com/2008/03/20/[color=red]getArticle[/color]?name=unambiguously-analyzing-metrics),则会侵犯REST原则。因为他嵌入了一个报文,你可以根据这个动词联想其他文章,甚至其他的请求,如createArticle、deleteArticle。这样的请求劫持了get命令,更重要的是忽略了已经有效的HTTP基础。
The beauty of REST is that resources can be anything,and how they are represented can vary too.In the preceding example,the resource is an HTML file;accordingly,the format of the response would be HTML.But the resource could have easily been an XML document,serialized object,or JSON representation.It really doesn't matter.What matters is that a resource is named and that communication with it doesn't affect its state.Not affecting state is important because stateless interactions facilitate scalability.
REST的好处是资源可以使任何事物,并且如何表现也可以是多样化的。之前的例子,资源是HTML文件,因此response的格式可能是HTML,但是资源可以轻易地改为XML,序列化对象,或者JSON表现形式。这不是问题,问题是资源如何命名及访问它却不影响他的状态。
To quote LEonardo da Vinci,"simplicity is the ultimate sophistication"
引用那谁的话说:“简单才是最终极的复杂”
[/size] -
翻译时导航栏延伸到第二行
2013-05-14 22:11:26<p>What code do I need to change? <p>Thanks! -Cullen <p>EDIT: I would rather not make the font smaller. It's important that it remains the same size in English. <p>However I am willing to make it ... -
REST API插入的WooCommerce产品WPML翻译不包括原始产品的变体
2019-04-12 10:30:08<p>Unfortunately I'm working with wordpress and woocommerce, what I'm trying to accomplish is to insert products and relative translations using the ... <li>First, i ... -
翻译代码:C套接字到PHP套接字
2011-06-06 05:17:17I don't know what to do with it. Some other variables are never used either. function picBin() assume curlBinaryData variable pic is filled with binary data from picture download. pic->current... -
数据文件大小限制、表空间大小限制、数据文件大小限制翻译mos文章(文档 ID 1372905.1)
2016-05-10 09:25:32What Is The Maximum Tablespace Size And Database Limit For An Oracle Database ? 适用范围 oracle数据库企业版10.1.0.2到11.2.0.3及11.2.0.4 目标 数据库的大小,表空间的大小,数据库文件的大小。 解决方案 ...表空间的最大值和数据库的限制
What Is The Maximum Tablespace Size And Database Limit For An Oracle Database ?
适用范围
oracle数据库企业版10.1.0.2到11.2.0.3及11.2.0.4
目标
数据库的大小,表空间的大小,数据库文件的大小。
解决方案
小文件数据库
有以下限制
最多可以有65533个数据文件。
每个数据文件的块最多为 2的22次方-1=4194303个。
数据文件的最大大小是数据块大小与最多的块的积。
数据块最大为32k
表空间最大的值为1022*最大数据文件大小
由上面的限制得出的结果
数据文件最大为32*4194303=128G
表空间最大为1022*128G=130816G将近128T
数据库最大为128*65533=8388224G
大文件数据库
有以下限制
最多可以有65533个数据文件。
每个数据文件的块最多为2的32次幂=4294967296
数据文件的最大大小是数据块大小与最多的块的积。
数据块最大为32k
表空间最大大小为大文件数据文件的大小
由上面的限制得出的结果
最大的数据文件=32*4294967296=128T
最大的表空间=128T
最大的数据库大小=128T*65533=8388224T
总结:小文件数据库块为8k 每个数据文件大小最大为32G 最大表空间为32T,最大数据库2097056G
小文件数据库块为16k 每个数据文件大小最大为64G 最大表空间为64T,最大数据库4194112G -
MySQL 5.6初始配置调优
2014-06-07 18:41:39原文链接: What to tune in MySQL 5.6 after installation原文日期: 2013年09月17日翻译日期: 2014年06月01日翻译人员: 铁锚随着 大量默认选项的改进, MySQL 5.6比以前版本需要调优的选项大为减少. 在本文中我将讲述... -
Pytorch层--AdaptiveAvgPool2d
2019-04-26 15:59:59翻译自: https://discuss.pytorch.org/t/what-is-adaptiveavgpool2d/26897 知乎链接: https://www.zhihu.com/question/282046628 函数原型: nn.AdaptiveAvgPool2d(output_size) 原理解释: 更多细节 池化模板大小... -
5.6 mysql调优_MySQL 5.6初始配置调优
2021-01-26 12:15:45原文链接: What to tune in MySQL 5.6 after installation原文日期: 2013年09月17日翻译日期: 2014年06月01日翻译人员: 铁锚随着 大量默认选项的改进, MySQL 5.6比以前版本需要调优的选项大为减少. 在本文中我将讲述... -
mysql 连接池配置 5.6_MySQL 5.6初始配置调整
2021-01-19 06:24:24原文链接: What to tune in MySQL 5.6 after installation原文日期: 2013年09月17日翻译日期: 2014年06月01日翻译人员: 铁锚随着 大量默认选项的改进, MySQL 5.6比曾经版本号须要调优的选项大为降低. 在本文中我将... -
MySQL 5.6初始配置调整
2015-10-26 12:59:00原文链接: What to tune in MySQL 5.6 after installation原文日期: 2013年09月17日翻译日期: 2014年06月01日翻译人员: 铁锚随着 大量默认选项的改进, MySQL 5.6比曾经版本号须要调优的选项大为降低. 在本文中我将... -
语音识别声音,删除重复播放的声音
2013-09-09 07:05:30//mText.setText("results: "+String.valueOf(data.size())); } public void onPartialResults(Bundle partialResults) { Log.d(TAG, "onPartialResults"); } public void onEvent(int eventType, ... -
1.6 开发集和测试集的大小 (Size of the dev and test sets) 1.7 什么时候改变开发集/测试集和评估指标(When to change dev/test sets and metrics) 1.8 为什么是人的表现 (Why human-level performance?) 1.9 可...
-
在小程序中使用 React with Hooks
2021-01-09 03:28:57而是把看起来像是 JSX 的模板通过静态编译的方式翻译成小程序自身的模板。 这样做的限制非常明显,那就是 JSX 是 JavaScript 的拓展语言(React Blog 写的是 <code>is a syntax extension to JavaScript... -
Updated translations for 'zh-CN': Chinese (中文 (Zhōngwén), 汉语, 漢語), China
2020-12-09 03:40:31Error shown when QR code cannot be generated due to overflow in input size.", "hash": "36c48d76203a1f1362b32abf72af5d8b" }, "requestDownloadPermissionForQr": { "...