Is there a Maximum component limit on a window

I have a window I am trying to create that has a size of 4000x12750 (this lets the user scroll to see more of the components in the client). On the window I created a container with about 94 components (just labels and text boxes). now i am trying to copy the container 64 times so that i have a total of 65 containers and that gives me about 6100 components. when i try saving the window it gets stuck serializing or will give me an error that java does not have enough heap space. is there something i can do to optimize the so it will not have the serializing and memory issue?

Give the designer more memory. You can do that in the Gateway Configuration web page under Gateway Settings.

Thanks. Raised the memory from 750MB to 1.5 GB.