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

run into error #3

Open
wyd124 opened this issue Apr 11, 2022 · 1 comment
Open

run into error #3

wyd124 opened this issue Apr 11, 2022 · 1 comment

Comments

@wyd124
Copy link

wyd124 commented Apr 11, 2022

This tool run into error when i try a sample by Untiy 2019.4.25f1.
How to fix this erro?

Thanks,

repro:

  1. export profiler data into a data file by unity profiler window.
  2. open tool by Unity menu -> Tools -> UTJ -> ProfilerReader -> AnalyzerToCSV.
  3. click File button of UTJ tool to load the data file.
  4. click Analyze button of UTJ tool.
  5. Error is show in console of unity editor.

System.OutOfMemoryException: Out of memory
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at System.Collections.Generic.List`1[T]..ctor (System.Int32 capacity) [0x00021] in :0
at UTJ.ProfilerReader.BinaryData.ThreadData.Read_Generic (System.IO.Stream stream, System.UInt32 version) [0x0003d] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.BinaryData.ProfilerFrameData.ReadGeneric (System.IO.Stream stream, System.Int32 frameSize, System.Int32 threadCount, System.Int32 index, System.UInt32 version) [0x00301] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.BinaryData.ProfilerFrameBlockData.Read (System.IO.Stream stream, System.Int32 frameIndex, System.String unityVersion) [0x0017e] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.BinaryData.ProfilerBinaryLogReader.ReadFrameData () [0x00064] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.UI.AnalyzeToCsvWindow.ExecuteFrame () [0x00018] in D:\dd\New Unity Project\Packages\ProfilerReader\Editor\GUI\AnalyzeToCsvWindow.cs:80
UnityEngine.Debug:LogError (object)
UTJ.ProfilerReader.UI.AnalyzeToCsvWindow:ExecuteFrame () (at Packages/ProfilerReader/Editor/GUI/AnalyzeToCsvWindow.cs:115)
UTJ.ProfilerReader.UI.AnalyzeToCsvWindow:UpdateThread () (at Packages/ProfilerReader/Editor/GUI/AnalyzeToCsvWindow.cs:66)
System.Threading.ThreadHelper:ThreadStart ()

@zhaogd233
Copy link

+1

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