Difference between revisions of "Historical:How to allocate enough RAM for PTEditor"

From PanoTools.org Wiki
Jump to navigation Jump to search
m
m (→‎Windows: sub-headline)
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
== Windows ==
 +
=== Windows XP ===
  
 
+
Because I only have a german version of Windows, I use german terms and screenshots to describe the actions.
Because I only have a german version of Windows, I use german terms to describe.
+
The english translations can be found between the brackets ().
I tried to translate to english, please edit when wrong and replace grafics.
 
 
 
 
 
  
 
Go to:
 
Go to:
 
Start / Einstellungen / Systemsteuerung / Ordneroptionen
 
Start / Einstellungen / Systemsteuerung / Ordneroptionen
(Start / Settings / Systemcontrol / Folderoptions)
+
(Start / Control panel / Folder options)
  
Choose the tab "Dateitypen" and push key '''''j'''''
+
Choose the tab "Dateitypen" (File types) and push key '''''j'''''
  
  
Line 20: Line 19:
  
 
When '''''JAR Executable Jar File''''' is blue highlighted, go to the bottom
 
When '''''JAR Executable Jar File''''' is blue highlighted, go to the bottom
of this window and push the button '''''Erweitert''''' (expand / more ?)
+
of this window and push the button '''''Erweitert''''' (Advanced)
  
  
Line 29: Line 28:
  
  
When '''''open''''' is blue highlighted, push '''''Bearbeiten''''' (edit?)
+
When '''''open''''' is blue highlighted, push '''''Bearbeiten''''' (Edit)
  
  
Line 37: Line 36:
  
  
 +
Under '''''Anwendung für diesen Vorgang''''' (Application used to perform action) you'll find a line similar like this:
  
Under '''''Anwendung f�r diesen Vorgang''''' (Tool for this ...) is the following line:
+
'''''"C:\Programme\Java\j2re1.4.2_03\bin\javaw.exe" -Xmx512m -jar "%1" %*'''''
 +
(In english versions: '''''"C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe" -Xmx512m -jar "%1" %*'''''
  
'''''"C:\Programme\Java\j2re1.4.2_03\bin\javaw.exe" -Xmx512m -jar "%1" %*'''''
+
In this example, I give PTEditor 512 MB RAM to use. I did that by putting in the '''''-Xmx512m''''' part. You can of course change '''''512''''' if you want to reserve a different amount of RAM.
 +
 
 +
If your line does not resemble the line above, you probably have not installed the [http://java.com/en/download/manual.jsp Java runtime Environment]
 +
 
 +
Click '''''OK''''' twice.
 +
 
 +
That's it!
 +
<br>
 +
<br>
 +
<br>
 +
 
 +
=== Windows 7 ===
 +
 
 +
In Windows 7 you have to use the registry-editor to make this changes.
 +
 
 +
- Open regedit.exe
 +
- Goto: HKEY_CLASSES_ROOT\jarfile\shell\open\command\
 +
- Edit: (Standard)
 +
  Insert <b>-Xmx512m</b> before <b>-jar</b> so that it looks like this "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx512m -jar "%1" %*
  
In this example, I give PTEditor 512 mb RAM to use. You can copy and paste this line and modify the number of RAM.
+
== Mac ==
 +
=== Mac OSX ===
 +
No text yet.
  
 +
=== Mac OS 9 ===
 +
No text yet.
  
Clicking twice '''''OK'''''.
+
== Linux ==
 +
No text yet.
  
 +
--[[User:Pitdavos|Peter Nyfeler]]  (Pitdavos)
  
That's it!
+
[[Category:Tutorial:Nice to know]]

Revision as of 13:47, 29 March 2012

Windows

Windows XP

Because I only have a german version of Windows, I use german terms and screenshots to describe the actions. The english translations can be found between the brackets ().

Go to: Start / Einstellungen / Systemsteuerung / Ordneroptionen (Start / Control panel / Folder options)

Choose the tab "Dateitypen" (File types) and push key j


This should then look like this:

Pte tutorial 009.jpg


When JAR Executable Jar File is blue highlighted, go to the bottom of this window and push the button Erweitert (Advanced)


The opening window here:

Pte tutorial 010.jpg


When open is blue highlighted, push Bearbeiten (Edit)


The new window:

Pte tutorial 011.jpg


Under Anwendung für diesen Vorgang (Application used to perform action) you'll find a line similar like this:

"C:\Programme\Java\j2re1.4.2_03\bin\javaw.exe" -Xmx512m -jar "%1" %* (In english versions: "C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe" -Xmx512m -jar "%1" %*

In this example, I give PTEditor 512 MB RAM to use. I did that by putting in the -Xmx512m part. You can of course change 512 if you want to reserve a different amount of RAM.

If your line does not resemble the line above, you probably have not installed the Java runtime Environment

Click OK twice.

That's it!


Windows 7

In Windows 7 you have to use the registry-editor to make this changes.

- Open regedit.exe - Goto: HKEY_CLASSES_ROOT\jarfile\shell\open\command\ - Edit: (Standard)

 Insert -Xmx512m before -jar so that it looks like this "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx512m -jar "%1" %*

Mac

Mac OSX

No text yet.

Mac OS 9

No text yet.

Linux

No text yet.

--Peter Nyfeler (Pitdavos)