Normally I go by word count since pages are so subjective what with different fonts and spacing. But I think the longest I've ever written in one book was about 150 pages in Microsoft word. What was cool about that though, was if it were typed up as an actual novel it would be near 300 pages.
Mine was a little longer than that when I gave up too :( I kinda regret it cause it wa coming along well, but I did it with a friend who I now don't see very often.
Around 360 handwriting and still workin' on it, remaking a lot... I think it's not good to give up on story, the more effort and feelings you put in it, it's better
My friend and I wrote this kind of spinoff thing of the Warriors series by Erin Hunter. We started at like 9 yrs old and believe it or not it's still not finished! It's around 90 pages of looseleaf front and back. At our age back then that was the size of the books we were reading! So it was quite an achievement. We even got called up by a publisher after my friend decided to volunteer at the library. He wanted to use an excerpt of our writing in a workbook as exemplar text for figurative language or something. Sadly, we never did end up doing that :(