# How to know the memory and gpu cost of babylon webpage?

**URL:** <https://forum.babylonjs.com/t/how-to-know-the-memory-and-gpu-cost-of-babylon-webpage/51016>\
**Category:** Questions\
**Created:** [June 3, 2024, 8:51am UTC](https://forum.babylonjs.com/t/how-to-know-the-memory-and-gpu-cost-of-babylon-webpage/51016 "2024-06-03T08:51:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaopangoo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/xiaopangoo/32/23507_2.png) [@xiaopangoo](https://forum.babylonjs.com/u/xiaopangoo)\
**Post date:** [June 3, 2024, 8:51am UTC](https://forum.babylonjs.com/t/how-to-know-the-memory-and-gpu-cost-of-babylon-webpage/51016/1 "2024-06-03T08:51:25Z")

</div>

When I want to use my babylon webpage on phone, the webpage can be opened on Android but not on iphone.  
I think this maybe related to memory and gpu.  
So how to know the memory and gpu cost of babylon webpage?

---

<div class="post-metadata">

**Author:** ![Niels](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/niels/32/38018_2.png) [@Niels](https://forum.babylonjs.com/u/Niels)\
**Post date:** [June 3, 2024, 9:54am UTC](https://forum.babylonjs.com/t/how-to-know-the-memory-and-gpu-cost-of-babylon-webpage/51016/2 "2024-06-03T09:54:16Z")

</div>

First of all I would say is it on all browsers on the IPhone or only a specific browser.

But that wont solve your case of knowing the memory usage.  
Maybe this link helps you to have that insight.

[https://developer.apple.com/documentation/xcode/monitoring-your-metal-apps-graphics-performance](https://monitoring-your-metal-apps-graphics-performance)

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [June 3, 2024, 10:21am UTC](https://forum.babylonjs.com/t/how-to-know-the-memory-and-gpu-cost-of-babylon-webpage/51016/3 "2024-06-03T10:21:30Z")

</div>

For the memory you may use `performance.memory` like here - [https://playground.babylonjs.com/#938RNX#29](https://playground.babylonjs.com/#938RNX#29)  
The problem with iPnohes are often related to big texture sizes. It shouldn’t be more than 2048\*2048, smaller is better.
