Skip to content

run into error #3

Description

@wyd124

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 ()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions