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

偶现OOM异常🐶 #836

Open
Parsee1 opened this issue Dec 28, 2024 · 0 comments
Open

偶现OOM异常🐶 #836

Parsee1 opened this issue Dec 28, 2024 · 0 comments

Comments

@Parsee1
Copy link

Parsee1 commented Dec 28, 2024

请注意:如果你没有提供以下所有信息我将会直接无视并关闭这个issue

  • Il2CppDumper版本
    6.7.46

  • 目标Unity版本 (可以不填)
    2022.3.37f1

  • 问题描述
    第一次跑报错:
    Initializing metadata...
    Metadata Version: 31
    Initializing il2cpp file...
    Applying relocations...
    WARNING: find JNI_OnLoad
    ERROR: This file may be protected.
    Il2Cpp Version: 31
    Searching...
    CodeRegistration : 66087b0
    MetadataRegistration : 67d0708
    Dumping...
    Done!
    Generate struct...
    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at System.GC.AllocateNewArray(IntPtr , Int32 , GC_ALLOC_FLAGS )
    at System.GC.g__AllocateNewUninitializedArray|66_0[T](Int32 , Boolean )
    at System.Buffers.TlsOverPerCoreLockedStacksArrayPool1.Rent(Int32 ) at System.Text.Json.PooledByteBufferWriter.CheckAndResizeBuffer(Int32 ) at System.Text.Json.PooledByteBufferWriter.GetMemory(Int32 ) at System.Text.Json.Utf8JsonWriter.Grow(Int32 ) at System.Text.Json.Utf8JsonWriter.WriteStringIndented(ReadOnlySpan1 )
    at System.Text.Json.Serialization.Converters.StringConverter.Write(Utf8JsonWriter , String , JsonSerializerOptions )
    at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter , T& , JsonSerializerOptions , WriteStack& ) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.GetMemberAndWriteJson(Object , WriteStack& , Utf8JsonWriter )
    at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryWrite(Utf8JsonWriter , T , JsonSerializerOptions , WriteStack& ) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter , T& , JsonSerializerOptions , WriteStack& )
    at System.Text.Json.Serialization.Converters.ListOfTConverter2.OnWriteResume(Utf8JsonWriter , TCollection , JsonSerializerOptions , WriteStack& ) at System.Text.Json.Serialization.JsonCollectionConverter2.OnTryWrite(Utf8JsonWriter , TCollection , JsonSerializerOptions , WriteStack& )
    at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter , T& , JsonSerializerOptions , WriteStack& ) at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.GetMemberAndWriteJson(Object , WriteStack& , Utf8JsonWriter )
    at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryWrite(Utf8JsonWriter , T , JsonSerializerOptions , WriteStack& ) at System.Text.Json.Serialization.JsonConverter1.TryWrite(Utf8JsonWriter , T& , JsonSerializerOptions , WriteStack& )
    at System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter , T& , JsonSerializerOptions , WriteStack& )
    at System.Text.Json.JsonSerializer.WriteUsingSerializer[TValue](Utf8JsonWriter , TValue& , JsonTypeInfo )
    at System.Text.Json.JsonSerializer.WriteStringUsingSerializer[TValue](TValue& , JsonTypeInfo )
    at System.Text.Json.JsonSerializer.Serialize[TValue](TValue , JsonSerializerOptions )
    at Il2CppDumper.StructGenerator.WriteScript(String outputDir) in C:\projects\il2cppdumper\Il2CppDumper\Outputs\StructGenerator.cs:line 376
    at Il2CppDumper.Program.Dump(Metadata metadata, Il2Cpp il2Cpp, String outputDir) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 265
    at Il2CppDumper.Program.Main(String[] args) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 99
    Press any key to exit...

第二次跑ok
Initializing metadata...
Metadata Version: 31
Initializing il2cpp file...
Applying relocations...
WARNING: find JNI_OnLoad
ERROR: This file may be protected.
Il2Cpp Version: 31
Searching...
CodeRegistration : 66087b0
MetadataRegistration : 67d0708
Dumping...
Done!
Generate struct...
Done!
Generate dummy dll...
Done!
Press any key to exit...

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

1 participant