asp.net c# pdf viewer control : Can't cut and paste from pdf application control utility html web page asp.net visual studio octave81-part555

Chapter37: JavaInterface
795
Toseewhatfunctionscanbecalledwithanobjectusemethods.Forexample,usingthe
previouslycreateddobj:
methods (dobj)
)
Methods for class java.lang.Double:
boolean equals(java.lang.Object)
java.lang.String toString(double)
java.lang.String toString()
...
Tocallamethodofanobjectthesamestructureindexingoperator‘.’isused. Octave
alsoprovidesafunctionalinterfacetocallingthemethodsofanobjectthroughjavaMethod.
Anexampleshowingbothstylesisshownbelow.
dobj = = javaObject ("java.lang.Double", pi);
dobj.equals (3)
)
0
javaMethod ("equals", dobj, pi)
)
1
[Built-inFunction]
ret = = javaMethod
(
methodname
,
obj
)
[Built-inFunction]
ret = = javaMethod
(
methodname
,
obj
,
arg1
,...)
Invoke themethod methodname e onthe e Javaobject obj with the arguments arg1,
....
Forstaticmethods,objcanbeastringrepresentingthefullyqualifiednameofthe
correspondingclass.
WhenobjisaregularJavaobject,structure-likeindexingcanbeusedasashortcut
syntax. Forinstance,thetwofollowingstatementsareequivalent
ret = = javaMethod ("method1", , x, , 1.0, , "a string")
ret = = x.method1 (1.0, "a string")
javaMethodreturnstheresultofthemethodinvocation.
Seealso: [methods],page722,[javaObject],page793.
Thefollowingthreefunctionsareusedtodisplayandmodifytheclasspathusedbythe
JavaVirtualMachine. ThisisentirelyseparatefromOctave’sPATHvariableandisused
bytheJVMtofindthecorrectcodetoexecute.
[FunctionFile]
javaclasspath
()
[FunctionFile]
dpath = javaclasspath
()
[FunctionFile]
[dpath, spath] = = javaclasspath
()
[FunctionFile]
clspath = javaclasspath
(
what
)
ReturntheclasspathoftheJavavirtualmachineintheformofacellarrayofstrings.
Ifcalledwithnoinputs:
 Ifnooutput t isrequested,thedynamicandstaticclasspaths areprintedtothe
standardoutput.
 Ifoneoutputvaluedpathisrequested,theresultisthedynamicclasspath.
Can't cut and paste from pdf - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
cannot select text in pdf file; pdf link to specific page
Can't cut and paste from pdf - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
pdf insert page break; split pdf files
796
GNUOctave
 Iftwooutputvaluesdpathandspatharerequested,thefirstvariablewillcontain
thedynamicclasspathandthesecondwillcontainthestaticclasspath.
Ifcalledwithasingleinputparameterwhat:
"-dynamic"
Returnthedynamicclasspath.
"-static"
Returnthestaticclasspath.
"-all"
Returnboththestaticanddynamicclasspathinasinglecellstr.
Seealso: [javaaddpath],page796,[javarmpath],page796.
[FunctionFile]
javaaddpath
(
clspath
)
[FunctionFile]
javaaddpath
(
clspath1
,...)
AddclspathtothedynamicclasspathoftheJavavirtualmachine.
clspathmayeitherbeadirectory where .classfiles are found,ora .jarfilecon-
tainingJavaclasses. Multiplepathsmaybeaddedatoncebyspecifyingadditional
arguments.
Seealso: [javarmpath],page796,[javaclasspath],page795.
[FunctionFile]
javarmpath
(
clspath
)
[FunctionFile]
javarmpath
(
clspath1
,...)
RemoveclspathfromthedynamicclasspathoftheJavavirtualmachine.
clspathmayeitherbeadirectory where .classfiles are found,ora .jarfilecon-
tainingJavaclasses.Multiplepathsmayberemovedatoncebyspecifyingadditional
arguments.
Seealso: [javaaddpath],page796,[javaclasspath],page795.
ThefollowingfunctionsprovideinformationandcontrolovertheinterfacebetweenOc-
taveandtheJavaVirtualMachine.
[FunctionFile]
javachk
(
feature
)
[FunctionFile]
javachk
(
feature
,
component
)
[FunctionFile]
msg = = javachk
(...)
CheckforthepresenceoftheJavafeatureinthecurrentsessionandprintorreturn
anerrormessageifitisnot.
Possiblefeaturesare:
"awt"
AbstractWindowToolkitforGUIs.
"desktop"
Interactivedesktopisrunning.
"jvm"
JavaVirtualMachine.
"swing"
SwingcomponentsforlightweightGUIs.
Iffeatureissupportedand
C# PDF copy, paste image Library: copy, paste, cut PDF images in
an image from one page of PDF document and paste it into in C# demo code below, we will explain how to cut image from doc, Target document object, Can't be null.
acrobat split pdf; pdf specification
C# PDF Thumbnail Create SDK: Draw thumbnail images for PDF in C#.
Description: Convert the PDF page to bitmap with specified size. Parameters: Name, Description, Valid Value. targetSize, The size of the output image. Can't be
can't select text in pdf file; c# print pdf to specific printer
Chapter37: JavaInterface
797
 nooutputargumentisrequested:
Returnanemptystring
 anoutputargumentisrequested:
Returnastructwithfields"feature"and"identifier"bothempty
Iffeatureisnotsupportedand
 nooutputargumentisrequested:
Emitanerrormessage
 anoutputargumentisrequested:
Returnastructwithfield"feature"settofeatureandfield"identifier"set
tocomponent
Theoptionalinputcomponentwillbeusedinplaceoffeatureinanyerrormessages
forgreaterspecificity.
javachkdeterminesifspecificJavafeaturesareavailableinanOctavesession. This
functionisprovidedforscriptswhichmayaltertheirbehaviorbasedontheavailability
ofJava. Thefeature"desktop"isneveravailableasOctavehasnoJava-baseddesk-
top. OtherfeaturesmaybeavailableifOctavewascompiledwiththeJavaInterface
andJavaisinstalled.
Seealso: [usejava],page797,[error],page207.
[FunctionFile]
usejava
(
feature
)
ReturntrueiftheJavaelementfeatureisavailable.
Possiblefeaturesare:
"awt"
AbstractWindowToolkitforGUIs.
"desktop"
Interactivedesktopisrunning.
"jvm"
JavaVirtualMachine.
"swing"
SwingcomponentsforlightweightGUIs.
usejavadeterminesifspecificJavafeaturesareavailableinanOctavesession. This
functionisprovidedforscriptswhichmayaltertheirbehaviorbasedontheavailability
ofJava. Thefeature"desktop"alwaysreturnsfalseasOctavehasnoJava-based
desktop. Other r features may be available if f Octave was s compiled with the Java
InterfaceandJavaisinstalled.
Seealso: [javachk],page796.
[FunctionFile]
javamem
()
[FunctionFile]
jmem = javamem
()
Show the current t memory usage of the Java virtual l machine e (JVM) and d run the
garbagecollector.
Whennoreturnargumentisgiventheinfoisprintedtothescreen. Otherwise,the
outputcellarrayjmemcontainsMaximum,Total,andFreememory(inbytes).
C# PDF Page Replace Library: replace PDF pages in C#.net, ASP.NET
consecutive pages from the input PDF file starting at specified position. Parameters: Name, Description, Valid Value. newPages, The new page objects. Can't be null
break apart pdf; break a pdf into parts
798
GNUOctave
AllJava-basedroutinesarerunintheJVM’ssharedmemorypool,adedicatedand
separatepartofmemoryclaimedby theJVMfromyour computer’stotalmemory
(whichcomprisesphysicalRAMandvirtualmemory/swapspaceonharddisk).
Themaximumallowablememoryusagecanbeconfiguredusingthefilejava.opts.
The directory where this s file e resides is determined d by the e environment variable
OCTAVE_JAVA_DIR. If f unset, , the directory y where javaaddpath.m resides is s used
instead(typicallyOCTAVE_HOME/share/octave/OCTAVE_VERSION/m/java/).
java.opts isaplaintextfilewithoneoptionperline. . Thedefault t initialmemory
sizeanddefaultmaximummemorysize(whicharebothsystemdependent)canbe
overriddenlikeso:
-Xms64m
-Xmx512m
(inmegabytesinthisexample). Youcanadaptthesevaluestoyourownrequirements
ifyoursystemhaslimitedavailablephysicalmemoryorifyougetJavamemoryerrors.
"Totalmemory" is what the operating system m has currently y assigned d to the JVM
anddependsonactualandactivememoryusage. "Freememory"isself-explanatory.
DuringoperationofJava-basedOctavefunctionstheamountofTotalandFreemem-
ory willvary, , dueto Java’s s owncleaningup p andyour r operatingsystem’s memory
management.
[Built-inFunction]
val = = java_matrix_autoconversion
()
[Built-inFunction]
old_val = java_matrix_autoconversion
(
new_val
)
[Built-inFunction]
java_matrix_autoconversion
(
new_val
,
"
local
"
)
QueryorsettheinternalvariablethatcontrolswhetherJavaarraysareautomatically
convertedtoOctavematrices.
Thedefaultvalueisfalse.
Whencalledfrominsideafunctionwiththe"local"option,thevariableischanged
locally for thefunctionandany subroutines itcalls. . The e originalvariablevalue is
restoredwhenexitingthefunction.
Seealso: [java
unsigned
autoconversion],page798,[debug
java],page798.
[Built-inFunction]
val = = java_unsigned_autoconversion
()
[Built-inFunction]
old_val = java_unsigned_autoconversion
(
new_val
)
[Built-inFunction]
java_unsigned_autoconversion
(
new_val
,
"
local
"
)
Queryorsettheinternalvariablethatcontrolshowintegerclassesareconvertedwhen
java_matrix_autoconversionisenabled.
Whenenabled,JavaarraysofclassByteorIntegerareconvertedtomatricesofclass
uint8oruint32respectively.Thedefaultvalueistrue.
Whencalledfrominsideafunctionwiththe"local"option,thevariableischanged
locally for thefunctionandany subroutines itcalls. . The e originalvariablevalue is
restoredwhenexitingthefunction.
Seealso: [java
matrix
autoconversion],page798,[debug
java],page798.
[Built-inFunction]
val = = debug_java
()
[Built-inFunction]
old_val = debug_java
(
new_val
)
Chapter37: JavaInterface
799
[Built-inFunction]
debug_java
(
new_val
,
"
local
"
)
Queryorsettheinternalvariablethatdetermineswhetherextradebugginginforma-
tionregardingtheinitializationoftheJVMandanyJavaexceptionsisprinted.
Whencalledfrominsideafunctionwiththe"local"option,thevariableischanged
locally for thefunctionandany subroutines itcalls. . The e originalvariablevalue is
restoredwhenexitingthefunction.
See also: [java
matrix
autoconversion], page e 798[java
unsigned
autoconversion],
page798.
37.2 DialogBoxFunctions
ThefollowingfunctionsallusetheJavaInterfacetoprovidesomeformofdialogbox.
[FunctionFile]
h = = msgbox
(
msg
)
[FunctionFile]
h = = msgbox
(
msg
,
title
)
[FunctionFile]
h = = msgbox
(
msg
,
title
,
icon
)
[FunctionFile]
h = = msgbox
(...,
createmode
)
Displaymsgusingamessagedialogbox.
Themessagemayhave multiplelinesseparatedby newlinecharacters("\n"),orit
maybeacellstrarraywithoneelementforeachline.
Theoptionalinputtitle(characterstring)canbeusedtodecoratethedialogcaption.
Theoptionalargumenticonselectsadialogicon. Itcanbeoneof"none"(default),
"error","help",or"warn".
Thereturnvalueisalways1.
CompatibilityNote:Theoptionalargumentcreatemodeisacceptedformatlabcom-
patibility,butisnotimplemented.
See also: [errordlg], page 799[helpdlg], page 800[inputdlg], page e 800[listdlg],
page800,[questdlg],page801,[warndlg],page802.
[FunctionFile]
h = = errordlg
(
msg
)
[FunctionFile]
h = = errordlg
(
msg
,
title
)
[FunctionFile]
h = = errordlg
(
msg
,
title
,
createmode
)
Displaymsgusinganerrordialogbox.
Themessagemayhave multiplelinesseparatedby newlinecharacters("\n"),orit
maybeacellstrarraywithoneelementforeachline.
Theoptionalinputtitle(characterstring)canbeusedtosetthedialogcaption. The
defaulttitleis"ErrorDialog".
Thereturnvalueisalways1.
CompatibilityNote:Theoptionalargumentcreatemodeisacceptedformatlabcom-
patibility,butisnotimplemented.
See also: [helpdlg], page 800[inputdlg], page 800[listdlg], page 800[msgbox],
page799,[questdlg],page801,[warndlg],page802.
800
GNUOctave
[FunctionFile]
h = = helpdlg
(
msg
)
[FunctionFile]
h = = helpdlg
(
msg
,
title
)
Displaymsginahelpdialogbox.
Themessagemayhave multiplelinesseparatedby newlinecharacters("\n"),orit
maybeacellstrarraywithoneelementforeachline.
Theoptionalinputtitle(characterstring)canbeusedtosetthedialogcaption. The
defaulttitleis"HelpDialog".
Thereturnvalueisalways1.
See also: [errordlg], page 799[inputdlg], page 800[listdlg], page 800[msgbox],
page799,[questdlg],page801,[warndlg],page802.
[FunctionFile]
cstr = inputdlg
(
prompt
)
[FunctionFile]
cstr = inputdlg
(
prompt
,
title
)
[FunctionFile]
cstr = inputdlg
(
prompt
,
title
,
rowscols
)
[FunctionFile]
cstr = inputdlg
(
prompt
,
title
,
rowscols
,
defaults
)
Returnuserinputfromamulti-textfielddialogboxinacellarrayof strings,oran
emptycellarrayifthedialogisclosedbytheCancelbutton.
Inputs:
prompt
Acellarraywithstringslabelingeachtextfield.Thisinputisrequired.
title
Stringtouseforthecaptionofthedialog.Thedefaultis"InputDialog".
rowscols
Specifiesthesizeofthetextfieldsandcantakethreeforms:
1. ascalarvaluewhichdefinesthenumber r ofrows usedfor eachtext
field.
2. avectorwhichdefines s theindividualnumber ofrowsusedforeach
textfield.
3. amatrixwhichdefinestheindividualnumberofrowsandcolumns
usedfor eachtext field. . Inthe e matrix eachrow describes asingle
textfield.Thefirstcolumnspecifiesthenumberofinputrowstouse
andthesecondcolumnspecifiesthetextfieldwidth.
defaults
Alistofdefaultvaluestoplaceineachtextfields. Itmustbeacellarray
ofstringswiththesamesizeasprompt.
See also: [errordlg], page e 799[helpdlg], page 800[listdlg], page 800[msgbox],
page799,[questdlg],page801,[warndlg],page802.
[FunctionFile]
[sel, ok] = = listdlg
(
key
,
value
,...)
Returnuserinputsfromalistdialogboxinavectorofselectionindicesselandaflag
okindicatinghowtheuserclosedthedialogbox.
Thevalueofok is1iftheuserclosedtheboxwiththeOKbutton,otherwiseitis0
andselisempty.
Theindicesinselare1-based.
Theargumentsarespecifiedinformofkey,valuepairs.The"ListString"argument
pairmustbespecified.
Validkey andvalue pairsare:
Chapter37: JavaInterface
801
"ListString"
acellarrayofstringscomprisingthecontentofthelist.
"SelectionMode"
canbeeither"Single"or"Multiple"(default).
"ListSize"
avectorwithtwoelementswidthandheightdefiningthesizeofthelist
fieldinpixels.Defaultis[160300].
"InitialValue"
avectorcontaining1-basedindicesofpreselectedelements. Defaultis1
(firstitem).
"Name"
astringtobeusedasthedialogcaption.Defaultis"".
"PromptString"
acellarrayofstringstobedisplayedabovethelistfield.Defaultis
.
"OKString"
astringusedtolabeltheOKbutton.Defaultis"OK".
"CancelString"
astringusedtolabeltheCancelbutton. Defaultis"Cancel".
Example:
[sel, ok] ] = listdlg g ("ListString", , {"An item", , "another", "yet t another"},
"SelectionMode", "Multiple");
if (ok k == 1)
for i i = 1:numel (sel)
disp (sel(i));
endfor
endif
See also: [menu], page 239[errordlg], page 799[helpdlg], page e 800[inputdlg],
page800,[msgbox],page799,[questdlg],page801,[warndlg],page802.
[FunctionFile]
btn = = questdlg
(
msg
)
[FunctionFile]
btn = = questdlg
(
msg
,
title
)
[FunctionFile]
btn = = questdlg
(
msg
,
title
,
default
)
[FunctionFile]
btn = = questdlg
(
msg
,
title
,
btn1
,
btn2
,
default
)
[FunctionFile]
btn = = questdlg
(
msg
,
title
,
btn1
,
btn2
,
btn3
,
default
)
Display msg using g a question dialog box x and return the caption of f the activated
button.
Thedialogmaycontaintwoorthreebuttonswhichwillallclosethedialog.
Themessagemayhave multiplelinesseparatedby newlinecharacters("\n"),orit
maybeacellstrarraywithoneelementforeachline.
Theoptionaltitle(characterstring)canbeusedtodecoratethedialogcaption.
The stringdefault t identifies s thedefault button,whichis activatedby pressingthe
ENTERkey.Itmustmatchoneofthestringsgiveninbtn1,btn2,orbtn3.
802
GNUOctave
Ifonly msg g andtitle arespecified,three e buttonswith the default captions "Yes",
"No",and"Cancel"areused.
Ifonly twobuttoncaptions, , btn1 1 andbtn2,arespecifiedthedialogwillhave e only
thesetwobuttons.
See also: [errordlg], page 799[helpdlg], page 800[inputdlg], page e 800[listdlg],
page800,[warndlg],page802.
[FunctionFile]
h = = warndlg
(
msg
)
[FunctionFile]
h = = warndlg
(
msg
,
title
)
[FunctionFile]
h = = warndlg
(
msg
,
title
,
createmode
)
Displaymsgusingawarningdialogbox.
Themessagemayhave multiplelinesseparatedby newlinecharacters("\n"),orit
maybeacellstrarraywithoneelementforeachline.
Theoptionalinputtitle(characterstring)canbeusedtosetthedialogcaption. The
defaulttitleis"WarningDialog".
Thereturnvalueisalways1.
CompatibilityNote:Theoptionalargumentcreatemodeisacceptedformatlabcom-
patibility,butisnotimplemented.
See also: [helpdlg], page 800[inputdlg], page 800[listdlg], page 800[questdlg],
page801.
37.3 FAQ-FrequentlyaskedQuestions
37.3.1 HowtodistinguishbetweenOctaveandMatlab?
Octaveandmatlabareverysimilar,buthandleJavaslightlydifferent. Thereforeitmay
benecessary todetecttheenvironmentandusetheappropriatefunctions. . Thefollowing
functioncanbeusedtodetecttheenvironment. Duetothepersistentvariableitcanbe
calledrepeatedlywithoutaheavyperformancehit.
Example:
%%
%% Return: true e if f the environment t is Octave.
%%
function retval l = = isOctave
persistent cacheval; ; % % speeds up repeated calls
if isempty (cacheval)
cacheval = = (exist ("OCTAVE_VERSION", "builtin") > > 0);
end
retval = cacheval;
end
37.3.2 HowtomakeJavaclassesavailabletoOctave?
Java finds classes by searching a a classpath. . This s is a a list t of Java archive files and/or
directoriescontainingclassfiles. InOctavetheclasspathiscomposedoftwoparts:
Chapter37: JavaInterface
803
 thestaticclasspathisinitializedonceatstartupoftheJVM,and
 thedynamicclasspathwhichcanbemodifiedatruntime.
Octavesearchesthestaticclasspathfirst,thenthedynamicclasspath.Classesappearing
inthestaticaswellasinthedynamicclasspathwillthereforebefoundinthestaticclasspath
andloadedfromthislocation. Classeswhichwillbeusedfrequentlyormustbeavailable
to all users should be added to the static classpath. . The e static classpath is s populated
oncefromthecontentsofaplaintextfilenamedjavaclasspath.txt(orclasspath.txt
historically) when n the Java Virtual Machine starts. . This s file contains one line for r each
individualclasspathtobeaddedtothestaticclasspath.Theselinescanidentifysingleclass
files,directoriescontainingclassfiles,orJavaarchiveswithcompleteclassfilehierarchies.
Commentlinesstartingwitha‘#’ora‘%’characterareignored.
Thesearchrulesforthefilejavaclasspath.txt(orclasspath.txt)are:
 First, , Octave tries s to locate e it t in n the e current t directory y (where Octave was started
from).Ifsuchafileisfound,itisreadanddefinestheinitialstaticclasspath. Thus,it
ispossibletodefineastaticclasspathona’perOctaveinvocation’basis.
 Next,Octavesearchesintheuser’shomedirectory. . Ifafilejavaclasspath.txtexists
here,itscontentsareappendedtothestaticclasspath(ifany). Thus,itispossibleto
buildaninitialstaticclasspathona’peruser’basis.
 Finally,Octavelooksforanext t occurrenceof filejavaclasspath.txt inthe m-files
directorywhereOctaveJavafunctions live. . This s iswherejavaclasspath.m resides,
usually somethinglikeOCTAVE_HOME/share/octave/OCTAVE_VERSION/m/java/. . You
canfindthisdirectorybyexecutingthecommand
which javaclasspath
Ifthisfileexistshere,itscontentsarealsoappendedtothestaticclasspath.Notethat
thearchivesandclassdirectoriesdefinedinthislaststepwillaffectallusers.
Classeswhichareusedonlybyaspecificscriptshouldbeplacedinthedynamicclasspath.
This portion n of the classpath can n be modified at runtime e using g the e javaaddpath and
javarmpathfunctions.
Example:
octave> base_path = "C:/Octave/java_files";
octave> % % add d two JARchives to the e dynamic classpath
octave> javaaddpath ([base_path, "/someclasses.jar"]);
octave> javaaddpath ([base_path, "/moreclasses.jar"]);
octave> % % check the e dynamic classpath
octave> p p = = javaclasspath;
octave> disp p (p{1});
C:/Octave/java_files/someclasses.jar
octave> disp p (p{2});
C:/Octave/java_files/moreclasses.jar
octave> % % remove e the e first element from m the classpath
octave> javarmpath ([base_path, , "/someclasses.jar"]);
804
GNUOctave
octave> p p = = javaclasspath;
octave> disp p (p{1});
C:/Octave/java_files/moreclasses.jar
octave> % % provoke e an n error
octave> disp p (p{2});
error: A(I): : Index x exceeds s matrix x dimension.
Anotherwaytoaddfilestothedynamicclasspathexclusivelyforyouruseraccountis
tousethefile.octavercwhichisstoredinyourhomedirectory.AllOctavecommandsin
thisfileareexecutedeachtimeyoustartanewinstanceofOctave.Thefollowingexample
addsthedirectoryoctavetoOctave’ssearchpathandthearchivemyclasses.jarinthis
directorytotheJavasearchpath.
% contents s of .octaverc:
addpath ("~/octave");
javaaddpath ("~/octave/myclasses.jar");
37.3.3 HowtocreateaninstanceofaJavaclass?
ThefunctionjavaObjectcanbeusedtocreateJavaobjects..
Example:
Passenger = = javaObject ("package.FirstClass", , row, , seat);
37.3.4 HowcanIhandlememorylimitations?
InordertoexecuteJavacodeOctavecreatesaJavaVirtualMachine(JVM).SuchaJVM
allocatesafixedamountofinitialmemoryandmayexpandthispooluptoafixedmaximum
memorylimit. Thedefault t values dependontheJavaversion(see [javamem],page797).
ThememorypoolissharedbyallJavaobjectsrunningintheJVM.Thisstrictmemorylimit
isintendedmainlytoavoidthatrunawayapplicationsinsidewebbrowsersorinenterprise
serverscanconsumeallmemoryandcrashthesystem. Whenthemaximummemorylimit
ishit,Javacodewillthrowexceptionssothatapplicationswillfailorbehaveunexpectedly.
YoucanspecifyoptionsforthecreationoftheJVMinsideafilenamedjava.opts. This
isatextfile whereyoucanenter lines containing-Xand-DoptionshandedtotheJVM
duringinitialization.
The directory where the e Java options file e is s located d is specified by the e environment
variableOCTAVE_JAVA_DIR. Ifunsetthedirectorywherejavaclasspath.mresidesisused
instead(typically OCTAVE_HOME/share/octave/OCTAVE_VERSION/m/java/). . Youcanfind
thisdirectorybyexecuting
which javaclasspath
The-Xoptionsallowyoutoincreasethemaximumamountofmemoryavailabletothe
JVM.Thefollowingexampleallowsupto256Megabytestobeusedbyaddingthefollowing
linetothejava.optsfile:
-Xmx256m
The maximumpossible amount of memory depends on your system. . On n aWindows
systemwith2Gigabytesmainmemoryyoushouldbeabletosetthismaximumtoabout1
Gigabyte.
Documents you may be interested
Documents you may be interested