9 ms·
http://dummyimage.com/1x8000000 http://dummyimage.com/1x8000000 Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 64000000 bytes)
by njharman 17y ago
http://dummyimage.com/1x8000000 http://dummyimage.com/1x8000000
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 64000000 bytes) in /home/kingkool68/dummyimage.com/code.php on line 18
Opps... Sorry.
Curiously http://dummyimage.com/8000000x1 http://dummyimage.com/8000000x1 works
And should have option to set RGB of image.
- kingkool68 17y agoThank you for exploring the bounds of my shared-server memory limits.
- njharman 17y agoThat wasn't really my intention, (why the oops). I was trying to see how massive a a scroll bar I could make (sadly firefox does not scroll images (hmmmm, or maybe it was autoresizing it to fit on available screen). Also, being a programmer and very much into testing I naturally think of pushing bounds.
- kingkool68 17y agoDon't worry you didn't break anything. Firefox will show scrollbars if you click on the image which will show it at actual size.
- jbyers 17y agoThe code checks to see that x is nine or fewer characters, so you can try to request up to 9999999x9 or 9x9999999.
- charlesmarshall 17y agoyou can trigger it with http://dummyimage.com/9000x9500 http://dummyimage.com/9000x9500 as well
- kingkool68 17y agoOh yea I'm working on an option to change the background color. I was hoping to use an elegant syntax like http://dummyimage.com/300x250#ccc http://dummyimage.com/300x250#ccc for a gray background. Too bad you can't capture anything after the hash tag on the server side. Any feedback on a better syntax?
- mshafrir 17y agohttp://dummyimage.com/300x250/ccc http://dummyimage.com/300x250/ccc