You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a lot of players on my server, so there are plenty of JSON files in world/stats. When I tried to execute statz migrate minecraft on the console, there came a lot of IOExceptions (The console alerted me with an INFO-level log, even though you caught all exceptions of that type in ImportManager.java). The logs are like: [Server] [15:44:58 INFO]: IO: Too many open files..
I found that in the method getUserStatisticsFile of ImportManager.java, just open a FileReader using JSONObject rootObject = (JSONObject) new JSONParser().parse(new FileReader(playerStatistics));. May be manually close it?
The text was updated successfully, but these errors were encountered:
I have a lot of players on my server, so there are plenty of JSON files in
world/stats
. When I tried to executestatz migrate minecraft
on the console, there came a lot of IOExceptions (The console alerted me with an INFO-level log, even though you caught all exceptions of that type inImportManager.java
). The logs are like:[Server] [15:44:58 INFO]: IO: Too many open files.
.I found that in the method
getUserStatisticsFile
ofImportManager.java
, just open aFileReader
usingJSONObject rootObject = (JSONObject) new JSONParser().parse(new FileReader(playerStatistics));
. May be manually close it?The text was updated successfully, but these errors were encountered: