InTime

How to resolve a “Failed to determine end of JSON data” error when importing results from InTime Server?

1960 views March 16, 2022 pohheng 0

Introduction:

When using InTime to import data from InTime Server, you encounter an error message:

Error receiving results from server. Errors: JSON Parser error: Failed to determine end of JSON data. JSON: "

or similar.

This is because the Java Virtual Machine (JVM) heap memory for the Java client is insufficient for the size of the data being imported.

Resolution:

Edit the file <session_path>/.plunify/plunify.ini.

  1. Find the group [intime] or create a new one if it cannot be found.
  2. Add the following lines to allocate additional heap memory:
[intime]
Xms_importdbdownload=1024m
Xmx_importdbdownload=4096m

Applies to:

  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 202203161 - Last Review: Mar 16 2022 - Revision: 1.0