VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/doc/readme/increasing-the-jvm.html@ 99507

最後變更 在這個檔案從99507是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 4.6 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4<html xml:lang="en-us" lang="en-us">
5<head>
6<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7<meta name="copyright" content="(C) Copyright 2005"/>
8<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
9<meta name="DC.Type" content="task"/>
10<meta name="DC.Title" content="Increasing Java memory allocation"/>
11<meta name="abstract" content="If you are working with large documents with extensive metadata or key references, you will need to increase the memory allocation for the Java process. You can do this from the command-line prompt for a specific session, or you can increase the value of the ANT_OPTS environmental variable."/>
12<meta name="description" content="If you are working with large documents with extensive metadata or key references, you will need to increase the memory allocation for the Java process. You can do this from the command-line prompt for a specific session, or you can increase the value of the ANT_OPTS environmental variable."/>
13<meta name="DC.Relation" scheme="URI" content="../readme/troubleshooting-overview.html"/>
14<meta name="DC.Format" content="XHTML"/>
15<meta name="DC.Identifier" content="t-increasing-the-JVM"/>
16<link rel="stylesheet" type="text/css" href="../commonltr.css"/>
17<link rel="stylesheet" type="text/css" href="../dita-ot-doc.css"/>
18<title>Increasing Java memory allocation</title>
19</head>
20<body id="t-increasing-the-JVM">
21
22
23 <h1 class="title topictitle1">Increasing Java memory allocation</h1>
24
25
26 <div class="body taskbody"><p class="shortdesc">If you are working with large documents with extensive metadata or key references,
27 you will need to increase the memory allocation for the Java process. You can do this from the
28 command-line prompt for a specific session, or you can increase the value of the ANT_OPTS
29 environmental variable.</p>
30
31 <div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><ul class="ul steps-unordered"><li class="li step stepexpand">
32 <span class="ph cmd">To change the value for an specific session, from the command prompt, issue the
33 following command:</span>
34
35<table border="1" frame="hsides" rules="rows" cellpadding="4" cellspacing="0" summary="" class="simpletable choicetable choicetableborder">
36<thead><tr class="sthead chhead"><th valign="bottom" align="left" id="d33296e22-option">Platform</th>
37<th valign="bottom" align="left" id="d33296e22-desc">Command</th></tr></thead>
38<tbody>
39
40 <tr class="strow chrow">
41 <td valign="top" headers="d33296e22-option" id="d33296e35" class="stentry choption"><strong>Windows</strong></td>
42
43 <td valign="top" headers="d33296e22-desc d33296e35" class="stentry chdesc"><samp class="ph codeph">set ANT_OPTS=%ANT_OPTS%
44 -Xmx<var class="keyword varname">1024</var>M</samp></td>
45
46 </tr>
47
48 <tr class="strow chrow">
49 <td valign="top" headers="d33296e22-option" id="d33296e48" class="stentry choption"><strong>Linux/OS X</strong></td>
50
51 <td valign="top" headers="d33296e22-desc d33296e48" class="stentry chdesc"><samp class="ph codeph">export ANT_OPTS=$ANT_OPTS
52 -Xmx<var class="keyword varname">1024</var>M</samp></td>
53
54 </tr>
55
56 </tbody></table>
57
58 <div class="itemgroup info"><p class="p">This increases the JVM memory allocation to 1024 megabytes. The amount of memory which can
59 be allocated is limited by available system memory and the operating system.</p>
60</div>
61 </li>
62<li class="li step stepexpand">
63 <span class="ph cmd">To persistently change the value, change the value allocated to the ANT_OPTS
64 environment variable on your system. If you use the <span class="ph filepath">startcmd</span> file
65 from the Full Easy Install to set up a toolkit session, edit that file
66 to change the value.</span>
67 </li>
68</ul>
69
70 </div>
71
72<div class="related-links">
73<div class="familylinks">
74<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../readme/troubleshooting-overview.html" title="This section contains information about problems that you might encounter and how to resolve them.">Error messages and troubleshooting</a></div>
75</div>
76</div>
77
78</body>
79</html>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette