Solution to the lack of free space in the temporary directory for Java IO operat

  • Last update:July 08, 2022
  • I. Description

    During the operation of the server, occasionally, the temporary directory of Java IO operation is full or the operation is not authorized. At this time, an error will be reported. The following are common solutions.

    II. Solutions

    Usually different systems have different tmpdir paths

    Under Windows: C:\Users\[User Name]\AppData\Local\Temp

    Under Linux and Mac: \tmp

    1. Insufficient permissions

    If the temporary file operation permissions are insufficient, find the default temporary file and assign permissions to the folder


    2. Clean up memory

    Clean up unused files in the temporary directory folder and increase the memory


    3. Change the temporary file path

    Reset the temporary directory of Java, that is, create a folder with permissions, and then refer to it as the temporary directory of Java

    1) Local designer

    Modify the file %FR_HOME%/bin/designer.vmoptions and add a line of code below to specify the tmpdir path, as shown in the following figure:

    -Djava.io.tmpdir=C:\temp

    Note: The path can be modified by yourself.


    2) Under Tomcat server

    If it is a Tomcat server, open the %TOMCAT%/bin/catalina.bat file, find the field for configuring the default temporary directory path: CATALINA_TMPDIR, modify its path value to the folder you created, as shown below:

    Save the file, restart the server


    Attachment List


    Theme: Performance Optimization
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy