Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA authored Oct 4, 2024
1 parent de22a29 commit 7a383bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,15 @@ state[:float_value] #=> 678.9
state[:string_value] #=> "Hoge Hoge"
```

### Memory Usage in Ruby

VitalRouter.MRuby specifies Unity's `UnsafeUtility.Malloc` for mruby's memory allocator.

Therefore, mruby's memory usage can be checked from MemoryProfiler, etc.

<img width="910" alt="スクリーンショット 2024-10-04 16 54 23" src="https://github.com/user-attachments/assets/4e29dff0-f2c4-4bef-ae89-d5a7858a3bc3">


### Supported platforms

VitalRouter.MRuby embeds custom `libmruby` as a Unity native plugin.
Expand Down

0 comments on commit 7a383bc

Please sign in to comment.