Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website Adding Pages to a Website Add a New Page

Can the Treehouse Workspace only handle designs with 3 pages?

Got ambitious, and have been creating a website using the Treehouse Workspace that has 5 pages instead of the 3 in the project. The 4th and 5th pages are direct copies of the working 3rd page, but both fail to load.

Any ideas?

Thanks,

Frank

3 Answers

Hey Frank Kalmbach,

Workspaces can handle many files. You're not limited by the quantity of files; you are limited by a total memory size of the workspace that I believe is somewhere around 10MB, which is quite a large number of text based files. It acts the very same as any other web server.

I would make sure that your anchor links have the correct spelling of the files in question. It can happen that we write "abuot.html" for an "about.html" page. I've done it more than a few times. Also, keep in mind that "About.html" in an anchor link and "about.html" in an actual file name would be two different pages, because file names are case sensitive. Ensure that the actual page names you are linking to have the exact same spelling and capitalization in the anchor link as they do in their actual file name.

Thanks for the quick reply Marcus - I'll double-check the links and anchors and can also delete some extra images that are hanging now unneeded in the file directories.

Any way that you know of for me to check my available memory of the 10MB cap? I assume the 10MB is for all workspaces, not just the active one. Maybe I should download the files from my follow-along of the original project and then delete those files in the workspace.

Thanks again,

Frank

I believe that is per workspace. I believe we all have basically a total of 1gb we can store on the Treehouse servers. Perhaps a staff member can answer this, too.

/cc Nathan Williams because you, at least, respond!

Nathan Williams
seal-mask
.a{fill-rule:evenodd;}techdegree
Nathan Williams
Python Web Development Techdegree Student 6,851 Points

Hey Marcus Parsons and Frank Kalmbach ,

We don't really do much for disk quota control besides periodically checking to make sure nothing's getting too crazy, and so far we've been pretty fortunate in not having to do much besides ask the occasional enthusiast to ease up on the amount they're uploading.

This is how we prefer to manage the platform and hope to continue to do so, though this of course will be determined by operational necessity if it turns into a management/cost problem.

We do limit runtime resource utilization in terms of CPU and memory, which is really just about scheduling fairness, to ensure that each student's workspace(s) remain(s) operational and responsive during peak hours, or if another student(s) should have a runaway process that tries to eat up too much memory/cpu time. We try to keep an eye on these limits to make sure they're reasonable, and so far we've had pretty good success, though we do look to our students to let us know if there's a use case they are having troubles with in the current system, so we can incorporate their feedback into future improvements.

Thanks for looping me in, and as always, feel free to give us a shout any time you've got a question!

Happy Coding!

Nathan W
Treehouse Site Ops

Thank you for clearing that up, Nathan. I have been wondering about that. I'll be sure to remember those details while running any Workspace. Again, thanks a trillion!

It's working again - I wasn't very systematic in testing what worked, since I downloaded the original workspace to my desktop, and then nuked the original workspace. Followed that up with a pretty large purge of images in the current workspace. One or both worked, and I'm back in business.

Thanks,

Frank

Glad to hear it, Frank! If you have any more problems, don't hesitate to ask!