# Limit number of rectangle entity

**URL:** <https://community.cesium.com/t/limit-number-of-rectangle-entity/31881>\
**Category:** CesiumJS\
**Created:** [May 3, 2024, 9:42am UTC](https://community.cesium.com/t/limit-number-of-rectangle-entity/31881 "2024-05-03T09:42:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hwlee](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hwlee/32/23318_2.png) [@hwlee](https://community.cesium.com/u/hwlee)\
**Post date:** [May 3, 2024, 9:42am UTC](https://community.cesium.com/t/limit-number-of-rectangle-entity/31881/1 "2024-05-03T09:42:40Z")

</div>

hello.

I would like to contact you because I have a question while measuring performance in the sandbox.  
We measured FPS while increasing the number of square objects through the sandbox below.

> **[Cesium Sandcastle](https://sandcastle.cesium.com/#c=bVRdT9tAEPwrq6gPTuOeTSitGgJqCVSVSltEqr4QJC72xrn0fIvuzgkp4r93bcdOCDydb3b2w7NjJ2Sch6XCFVo4AYMrGKFTRS7+VFgw6STVfUTGS2XQTjohPE4MgFc5akYGMJPaYVhiLkGDPyhlcFNm3CBiPLr4eXF4XvGUmdGUHnZTM6SEaXYXm0qHl3KN9kolf7chgDIojcqlV2R2M+aU41nh/S761D2emImpX1JUI4oUp0U2ntPqq5U5uiu0Y0zIpKyBtwVWCTOygUYPCk5iOAY1hPdxzGevB91KgYawqAmLDWHR69VxSCp1bzSZELT0t1z95qD/sRfEIo7j/tHbRTc8/LC9qu4td66znPqHzN+Ejtv50XjlFToh0zSo24DFxEuTaYQBPNbqQNWebKqM9OjafVw3VDGzlJ9jZhFd0GTwpO/KxlE/bCHpX0Bkei9Zz6FuG8IHVjTF9BuqbO4H8Kl/1MbmDRbHLcZLRaukbkcekSYrri/OWwoVvnZeuasQomhTCPKClZsiON4Kb6chgidIlbvXcr1Xoqq91+ns8svoe9vrqX7YmKi6s6V2DJWwgawUM73+TfVCUnS+lL3yZlNaWl6DkubwmfDsBnZAeMBLjrtbr5YWIN6Rpiy4S6gwrNGbx30HLKUu+NBoMj9/uitTO2Fn6Pxa42kz/2eV35P1UFgdCBF5zFkGHiWaFvxNeZE4VyaW1GG0mzpM1RJUevLKHwASLZ3jyKzQesxrn3ROhxHzX6RqkuzA7NcSbSk+0+YHp5c1KIQYRnx9PdMT6am0e5X/Aw)**
>
> The Cesium Sandcastle provides an interactive environment for testing Cesium code.

However, when creating a 16K object, out of memory occurs, so I would like to inquire about the error.  
At that time, RAM usage was about 60% and Chrome browser usage was 6GB.

I am also curious if there is a limit to the number of objects recommended by Cesium.

Laptop used for testing  
CPU: i7-11800H  
RAM: 32GB  
GPU: RTX3060 Laptop
