Limitless amount of posts in custom archive page

Don’t use query_posts().
Try:

<?php
    $query = new WP_Query('orderby=title&order=ASC&posts_per_page=-1');
    if ($query->have_posts()) : while ($query->have_posts()) : the_post(); 
?>