| Welcome to UCR CS 14 Klefstad. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| program killed | |
|---|---|
| Tweet Topic Started: Nov 15 2013, 09:33 PM (203 Views) | |
| Deleted User | Nov 15 2013, 09:33 PM Post #1 |
|
Deleted User
|
How is everyone dealing with the program being killed when you run words.txt? |
|
|
| Deleted User | Nov 15 2013, 09:53 PM Post #2 |
|
Deleted User
|
I'm wondering the same. I'm working on balancing my tree, but no luck so far. |
|
|
| Deleted User | Nov 15 2013, 09:59 PM Post #3 |
|
Deleted User
|
balancing..? making avl tree? |
|
|
| Deleted User | Nov 15 2013, 10:09 PM Post #4 |
|
Deleted User
|
Are you on the well? I only manage to blow the call stack when I try to run it on well or bell. As for balancing, I don't think we're allowed to do that (though it does solve the problem). |
|
|
| Deleted User | Nov 15 2013, 10:15 PM Post #5 |
|
Deleted User
|
. |
|
|
| Deleted User | Nov 15 2013, 10:20 PM Post #6 |
|
Deleted User
|
If you're blowing the call stack when off the well, are you normalizing the strings? I believe we don't have to do that for this assignment (though I'm amazed that normalizing the strings causes enough overhead to blow the call stack). |
|
|
| Deleted User | Nov 15 2013, 10:29 PM Post #7 |
|
Deleted User
|
i thought i was off of well, but apparently i wasn't. Now i am running it off of well... |
|
|
| Deleted User | Nov 15 2013, 10:38 PM Post #8 |
|
Deleted User
|
Ive been running everything off of bell and haven't had a single problem... insert on words.txt running in under 3 minutes. So it that shouldn't be the problem |
|
|
| Deleted User | Nov 15 2013, 11:27 PM Post #9 |
|
Deleted User
|
Did you balance your tree, to get it to work? |
|
|
| Deleted User | Nov 15 2013, 11:40 PM Post #10 |
|
Deleted User
|
I have made a balancing tree. I also have the nonbalancing one. Neither one blows the call stack unless I run it on the well or bell (only the nonbalancing one does). Making the tree balance itself can fix the problem, unless the tree size starts getting really big. If it starts getting really big then even my balancing tree would have a risk of blowing the call stack while inserting (since I implemented the balancing recursively). |
|
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Homework 6 · Next Topic » |
- Pages:
- 1
- 2





12:15 PM Jul 11