Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存溢出了 #134

Open
chaopengTan opened this issue Jun 30, 2022 · 1 comment
Open

内存溢出了 #134

chaopengTan opened this issue Jun 30, 2022 · 1 comment

Comments

@chaopengTan
Copy link

OutOfMemoryError: Failed to allocate a 29709532 byte allocation with 16777216 free bytes and 26MB until OOM

java.lang.OutOfMemoryError: Failed to allocate a 29709532 byte allocation with 16777216 free bytes and 26MB until OOM
at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:95)
at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:146)
at java.lang.StringBuilder.append(StringBuilder.java:216)
at com.elvishew.xlog.formatter.border.DefaultBorderFormatter.format(DefaultBorderFormatter.java:75)
at com.elvishew.xlog.formatter.border.DefaultBorderFormatter.format(DefaultBorderFormatter.java:31)
at com.elvishew.xlog.Logger.printlnInternal(Logger.java:598)
at com.elvishew.xlog.Logger.println(Logger.java:533)
at com.elvishew.xlog.Logger.d(Logger.java:230)
at com.elvishew.xlog.XLog.d(XLog.java:644)
at com.dankal.alpha.net.Client$LoggingInterceptor.log(Client.java:66)
at com.dankal.alpha.utils.MyHttpLoggingInterceptor.intercept(MyHttpLoggingInterceptor.java:233)

@LeonShannon
Copy link

Process Name: 'com.vgjump.jump'
Thread Name: 'Thread-8'
Back traces starts.
java.lang.OutOfMemoryError: Failed to allocate a 32 byte allocation with 507792 free bytes and 495KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at libcore.util.ZoneInfo.clone(ZoneInfo.java:303)
at java.util.TimeZone.getDefault(TimeZone.java:702)
at com.elvishew.xlog.printer.file.naming.DateFileNameGenerator.generateFileName(DateFileNameGenerator.java:48)
at com.elvishew.xlog.printer.file.FilePrinter.doPrintln(FilePrinter.java:125)
at com.elvishew.xlog.printer.file.FilePrinter.access$100(FilePrinter.java:41)
at com.elvishew.xlog.printer.file.FilePrinter$Worker.run(FilePrinter.java:389)
at java.lang.Thread.run(Thread.java:1012)
Back traces ends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants