Mercurial > hg > ltpda
view m-toolbox/html_help/help/ug/trouble_shooting.html @ 34:03d92954b939 database-connection-manager
Improve look of LTPDAPreferences diaolog
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html lang="en"> <head> <meta name="generator" content= "HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org"> <meta http-equiv="Content-Type" content= "text/html; charset=us-ascii"> <title>Trouble-shooting (LTPDA Toolbox)</title> <link rel="stylesheet" href="docstyle.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.52.2"> <meta name="description" content= "Presents an overview of the features, system requirements, and starting the toolbox."> </head> <body> <a name="top_of_page" id="top_of_page"></a> <p style="font-size:1px;"> </p> <table class="nav" summary="Navigation aid" border="0" width= "100%" cellpadding="0" cellspacing="0"> <tr> <td valign="baseline"><b>LTPDA Toolbox</b></td><td><a href="../helptoc.html">contents</a></td> <td valign="baseline" align="right"><a href= "additional_progs.html"><img src="b_prev.gif" border="0" align= "bottom" alt="Additional 3rd-party software"></a> <a href= "userguide.html"><img src="b_next.gif" border="0" align= "bottom" alt="User Guide"></a></td> </tr> </table> <h1 class="title"><a name="f3-12899" id="f3-12899"></a>Trouble-shooting</h1> <hr> <p> A collection of trouble-shooting steps. <ol> <!-- Java Heap Problem --> <li><h3>Java Heap Problem</h3> <p> When loading or saving large XML files, MATLAB sometimes reports problems due to insufficient heap memory for the Java Virtual Machine.<br /> You can increase the heap space for the Java VM in MATLAB 6.0 and higher by creating a <tt>java.opts</tt> file in the <tt>$MATLAB/bin/$ARCH</tt> (or in the current directory when you start MATLAB) containing the following command: <tt>-Xmx$MEMSIZE</tt><br /><br /> Recommended:<br /><br /> <tt>-Xmx536870912</tt><br /><br /> which is 512Mb of heap memory. </p> <p> An additional workaround reported in case the above doesn't work: It sometimes happens with MATLAB R2007b on WinXP that after you create the <tt>java.opts</tt> file, MATLAB won't start (it crashes after the splash-screen).<br /> The workaround is to set an environment variable <tt>MATLAB_RESERVE_LO=0</tt>.<br /><br /> This can be set by performing the following steps: <ol> <li>Select <tt>Start->Settings->Control Panel->System</tt></li> <li>Select the "Advanced" tab</li> <li>On the bottom, center, click on "Environment variables"</li> <li>Click "New" (choose the one under "User variables for Current User")</li> <li> Enter<br /> Variable Name: MATLAB_RESERVE_LO<br /> Variable Value: 0</li> <li>Click OK as many times as needed to close the window</li> </ol><br /><br /> Then edit/create the <tt>java.opts</tt> file as described above. You can also specify the units (for instance -Xmx512m or -Xmx524288k or -Xmx536870912 will all give you 512 Mb). </p> </li> <!-- LTPDA Directory Name Problem --> <li><h3>LTPDA Directory Name</h3> <p> Problems have been seen on Windows machines if the LTPDA toolbox directory name contains '.'. In this case, just rename the base LTPDA directory before adding it to the MATLAB path. </p> </li> <!-- MAX File Problem --> <li><h3>Problems to execute MEX files</h3> <p> User with the operating system "Windows XP" will get trouble if you want to execute MEX files. This happens if you are useing for example the methods 'detrend', 'smoother', 'lpsd', ...<br /> You will get the following error:<br /> <dl> <dd class="red">??? Invalid MEX-file 'C:\ltpda_toolbox\ltpda\src\ltpda_dft\ltpda_dft.mexw32': <br /> This application has failed to start because the application configuration is incorrect.<br /> Reinstalling the application may fix this problem.</dd> </dl> You can solve this problem by installing the Microsoft Visual C++ 2008 Redistributable Package. This is necessary because all the MEX files are compiled with Microsoft Visual C++ 2008. You can install this package from the LTPDA toolbox or from the official Microsoft web page.<br /><br /> <p> <ul> <li>LTPDA toolbox <ul> <li><a href="matlab:web(['file:///' which('vcredist_x86.exe')])">Windows 32 bit</a></li> <li><a href="matlab:web(['file:///' which('vcredist_x64.exe')])">Windows 64 bit</a></li> You will find the files in the directory: $LTPDA_TOOLBOX_DIR/ltpda/src<br /><br /> </ul> </li> <li>Official Microsoft web page <ul> <li><a href="matlab:web('http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en')">Windows 32 bit</a></li> <li><a href="matlab:web('http://www.microsoft.com/downloads/details.aspx?familyid=90548130-4468-4BBC-9673-D6ACABD5D13B&displaylang=en')">Windows 64 bit</a></li> </ul> </li> </ul> </p> </p> </li> </ol> </p> <br> <br> <table class="nav" summary="Navigation aid" border="0" width= "100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td align="left" width="20"><a href="additional_progs.html"><img src= "b_prev.gif" border="0" align="bottom" alt= "Additional 3rd-party software"></a> </td> <td align="left">Additional 3rd-party software</td> <td> </td> <td align="right">User Guide</td> <td align="right" width="20"><a href= "userguide.html"><img src="b_next.gif" border="0" align= "bottom" alt="User Guide"></a></td> </tr> </table><br> <p class="copy">©LTP Team</p> </body> </html>