Search found 2 matches

by MikeyCarter
Fri Mar 02, 2007 11:16 pm
Forum: PHP - Code
Topic: Why is my class taking up 500K when the file is only 103K?
Replies: 11
Views: 729

Is there a way to attach the file?

Why would just including the file increase the size so much? None of the variables have been initialized.
by MikeyCarter
Fri Mar 02, 2007 10:14 pm
Forum: PHP - Code
Topic: Why is my class taking up 500K when the file is only 103K?
Replies: 11
Views: 729

Why is my class taking up 500K when the file is only 103K?

I have a class that when I include it the memory_get_usage jumps by almost 500K. That's just after doing a include_once('filepath') Any one know why or how I can find out why it's taking so much memory? I have another that the file is 187k but after doing the include_once the memory_get_usage jumps ...