Hi Thomas, Thank you for your email. PFA the text file as required. We sent you
this file on 01.04.2015, but are not sure it reached you. Regards,Padma
@echo off
rem This is necessary to access the TOTAL_MEMORY and ADDRESS_WIDTH variables
inside the IF block
setlocal enabledelayedexpansion
rem Obtain the physical memory size and check if we are running on a 32-bit
system.
if exist C:\Windows\System32\wbem\wmic.exe (
echo Checking physical memory size...
rem Get physical memory size from OS
for /f "skip=1" %%p in ('C:\Windows\System32\wbem\wmic.exe os get
totalvisiblememorysize') do if not defined TOTAL_MEMORY set /a TOTAL_MEMORY=%%p
/ 1024
for /f "skip=1" %%x in ('C:\Windows\System32\wbem\wmic.exe cpu get
addresswidth') do if not defined ADDRESS_WIDTH set ADDRESS_WIDTH=%%x
echo Found !TOTAL_MEMORY! MB memory, !ADDRESS_WIDTH!-bit system
) else (
echo Skipping memory size check, because wmic.exe could not be found
set ADDRESS_WIDTH=32
)
rem The HEAP_SIZE variable defines the Java heap size in MB.
rem That is the total amount of memory available to MZmine 2.
rem By default we set this to 1024 MB on 32-bit systems, or
rem half of the physical memory on 64-bit systems.
rem Feel free to adjust the HEAP_SIZE according to your needs.
if %ADDRESS_WIDTH%==64 (
set HEAP_SIZE=1024
) else (
set /a HEAP_SIZE=%TOTAL_MEMORY% /2
)
echo Java heap size set to %HEAP_SIZE% MB
rem The TMP_FILE_DIRECTORY parameter defines the location where temporary
rem files (parsed raw data) will be placed. Default is %TEMP%, which
rem represents the system temporary directory.
set TMP_FILE_DIRECTORY=%TEMP%
rem Set R environment variables.
#set R_HOME=Computer\C:\Program Files\R\R-3.1.0
set R_HOME=C:\Program Files\R\R-3.1.0
set R_SHARE_DIR=%R_HOME%\share
set R_INCLUDE_DIR=%R_HOME%\include
set R_DOC_DIR=%R_HOME%\doc
set R_LIBS_USER=%HOME%\library
rem Include R DLLs in PATH.
set PATH=%PATH%;%R_HOME%\bin\x64
rem The directory holding the JRI shared library (libjri.so).
set JRI_LIB_PATH=%R_LIBS_USER%\rJava\jri\x64
rem It is usually not necessary to modify the JAVA_COMMAND parameter, but
rem if you like to run a specific Java Virtual Machine, you may set the
rem path to the java command of that JVM
set JAVA_COMMAND=java
rem It is not necessary to modify the following section
set JAVA_PARAMETERS=-showversion -classpath lib\* -Djava.ext.dirs=
-XX:+UseParallelGC -Djava.io.tmpdir=%TMP_FILE_DIRECTORY% -Xms%HEAP_SIZE%m
-Xmx%HEAP_SIZE%m -Djava.library.path="%JRI_LIB_PATH%"
set MAIN_CLASS=net.sf.mzmine.main.MZmineCore
rem This command starts the Java Virtual Machine
%JAVA_COMMAND% %JAVA_PARAMETERS% %MAIN_CLASS% %*
rem If there was an error, give the user chance to see it
IF ERRORLEVEL 1 pause
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mzmine-devel mailing list
Mzmine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mzmine-devel