Many thanks for your response. I scaled the diffusion and solved my problem. I want to simulate my model for 160cm^2 of epithelial cells consisting of 4*10^8 cells, but I face this error:
"Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.desktop/java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
at java.desktop/java.awt.image.Raster.createPackedRaster(Raster.java:467)
at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
at HAL.Gui.UIGrid.<init>(UIGrid.java:56)
at HAL.Gui.UIGrid.<init>(UIGrid.java:79)
at HAL.Gui.GridWindow.<init>(GridWindow.java:24)
at HAL.Gui.GridWindow.<init>(GridWindow.java:60)"
I don't know it is because of lack of memory or inability to display all these cells simultaneously in monitoring. How can I solve this problem?
Thank you so much for your attention and participation.
Yours sincerely,
Sadegh